Current location - Recipe Complete Network - Complete cookbook - MFC primer
MFC primer
VC++ and mfc in Hou Jie are both required books for getting started. Which one is better depends on which one you prefer. Other good books are:

1, windows programming, win32? Api, it will be easier to see mfc after understanding this.

2, chicken pecks rice "MFC tutorial", comparative study, general controls will basically be used.

3, "windows Core Programming", the most important thing, you have to watch it several times.

MFC (English: Microsoft Foundation Classes) is the abbreviation of Microsoft Basic Class Library. A c++ class library implemented by Microsoft mainly encapsulates most windows API functions. Vc++ is a c/c++ integrated development environment developed by Microsoft. The so-called integrated development environment is more flexible because it can be edited, compiled and debugged, rather than operated by various tools in turn.

MFC is not only a class library, but also a framework. When you build a new MFC project in vc++, the development environment will automatically generate many files for you. It uses mfcxx.dll. Xx is a version, which encapsulates the mfc kernel, so you can't see the message loop and other things in the original SDK programming in your code, because the MFC framework has been encapsulated for you, so you can focus on the logic of your program instead of repeating these things every time you program.

Because it is a general framework, it has no best pertinence, and of course it also loses some flexibility and efficiency. However, the packaging of MFC is very shallow, so the efficiency loss is not great.