Analysis of components of Visual C ++ 6.0

Source: Internet
Author: User
Tags microsoft c

Visual C ++ 6.0 is not only a C ++ compiler, but also a Visual integrated development environment based on Windows operating systems. Visual C ++ 6.0 consists of many components, it includes the editor, debugger, AppWizard, Class Wizard, and other development tools.

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.

Visual C ++ 6.0 development process
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, it uses the connector to connect the related intermediate files, 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.

Visual C ++ can be divided into three main parts:

1. developer Studio: This is an integrated development environment. 99% of our daily work is done on it. In addition, it is titled Microsoft Visual C ++ ", therefore, many people naturally think that it is Visual C ++.

As a matter of fact, although Developer Studio provides a good editor and a lot of Wizard, it does not actually have any compilation and linking functions. The hero behind the scenes who truly completes these tasks will be introduced later. We also know that Developer Studio is not specifically used for VC, and it is also used for other siblings of Visual Studio, such as VB, VJ, and VID. Therefore, do not regard Developer Studio as Visual C ++. It is only a shell of Visual C ++ at best. Please remember this!

2. MFC. Theoretically, MFC is not dedicated to Visual C ++, Borland C ++, C ++ Builder, and Symantec C ++. It can also process MFC. At the same time, writing code with Visual C ++ does not mean that you must use MFC. If you want to write SDK programs with Visual C ++ or use STL and ATL, there is no restriction.

However, Visual C ++ was originally created for MFC. Many features and language extensions in Visual C ++ are also designed for MFC, therefore, using Visual C ++ without MFC means that a large part of the functions in Visual C ++ are abandoned. However, Visual C ++ is not equal to MFC.

3. Platform SDK. This is the essence and soul of Visual C ++ and the entire Visual Studio, although we seldom have direct access to it. In general, the Platform SDK is centered on Microsoft C/C ++ compiler, not Visual C ++ ).

Works with MASM and other tools and documents. As mentioned above, Developer Studio does not have the function of compiling a program. Who will accomplish this? It's CL, NMAKE, and many other command line programs. These programs that we don't see constitute the cornerstone of Visual Studio.

  1. Introduction to C ++
  2. Summary Notes on learning and exploring C ++ library functions
  3. Basic Conception and method of C ++ Class Library Design
  4. Does C ++ really have market value?
  5. Basic Conception and method of C ++ Class Library Design

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.