The following describes in detail that Visual C ++ and C ++ are just ISO standards. The standard specifies the basic syntax of C ++ and the semantics of these syntaxes, it is not enough to apply C ++ in actual programming.
Fortunately, there are already many commercial companies, open-source organizations, foundations, and even individuals that follow the C ++ standard to implement on different platforms. The compliance here does not fully comply with the C ++ standard, mainly due to the following reasons:
1) historical reasons. Some compilers have not yet implemented C ++ official standards, or the C ++ standards implemented according to older standards are also updated ).
2) platform reasons. It is difficult or unnecessary to implement certain features of the standard on some platforms.
3) for commercial purposes. Some commercial companies may add features that they think are feasible or better.
4) Other technical reasons.
In any case, the available C ++ compiler implementations are already rich, and there are several implementations on the Windows platform, commonly used are the C ++ compiler implementation that comes with Visual C ++ 6.0, and the C ++ compiler implementation that comes with Borland C ++ Builder. In terms of the degree of implementation of the standard, the latter is better.
Tip: Visual C ++ and Borland C ++ Builder are common C ++ development tools in Windows. The former is developed by Microsoft and widely used. This book describes how to use Visual C ++ 6.0 for common Windows programming. In addition to a C ++ compiler, Visual C ++ 6.0 also contains other Visual development tools, auxiliary tools, and some C ++ libraries, these will be introduced in the relevant chapters of this book.
In the development process of Visual C ++ 6.0, the Visual C ++ 6.0 compiler is responsible for compiling the C ++ source code into an assembly file and converting it into an obj file ), then, connect related intermediate files with the connector to generate executable binary files.
The process is as follows:
1) The source program is handed over to the compiler after preprocessing.
2) If the code is correct, the compiler will generate an assembler and then generate several obj files for the target program ).
3) The linker connects the target program to generate executable programs.
- How to Write C ++ project development and project plan correctly
- Summary Notes on learning and exploring C ++ library functions
- In-depth demonstration of high security of C ++
- Describes in detail how to accurately Write C ++ languages.
- In-depth demonstration of high security of C ++