Six Things You Might Not Know About Visual C++
1.VC is the development environment, while C++ is the programming language.
2.VC++ implements visual programming through MFC (Microsoft Foundation Classes), which greatly facilitates programmers and represents the direction of programming language development.
3.Function parameters can be easily understood by using macro definitions to indicate their purpose. For example:
wnMain.ShowWindow(0)
wnMain.Show(SW_HIDE);
;
It is obvious that the latter is easier to understand. Another approach is to use enumerated types as function parameters.
4.C language is the essence. Anything that can be done in other languages can also be done in C. The application of C at the low level is irreplaceable. C is versatile in both software and hardware; the Windows core is written in C, and hardware microcontrollers like ARM and DSP are almost entirely programmed in C.
5.If you are developing online games, you may also need to learn graphics libraries such as DirectX and OpenGL, which can be used in conjunction with MFC to achieve the desired effects. Additionally, MFC is merely a wrapper and simplification of the Windows API, adding some functionalities. It is generally used to develop Client/Server architecture applications, based on a client/server model. To add, C# can also be used for online game development.
6.Game Development:
(1) In a WINDOWS environment, large game clients are almost always developed using C/C++/VC++, with development tools like VS2005.
(2) WINDOWS API (SDK) is frequently used.
(3) You need to master a 3D game SDK: DirectX SDK or OPENGL SDK.
(4) A basic understanding of art and modeling is beneficial.
(5) Game servers can run on LINUX or WINDOWS, with server development languages being C/C++, and the communication protocol being TCP/IP.
(6) Databases can use MYSQL or ORACLE (in LINUX environment) or SQL SERVER (in WINDOWS).

Image credit: Wang Jianghao
Layout: Yan Huixin