Overview of new features of Visual C ++ development tools

Source: Internet
Author: User
Tags microsoft c

Maybe you are not very familiar with Visual C ++ development tools. After reading this article, it will be of great help to you, in addition to learning Visual C ++ development tools, we will also conduct a comprehensive study on the new features of Visual C ++. I hope you can learn more.

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 ++ development tools 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.

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, use Visual C ++ development tools to write SDK programs, or use STL, ATL, there are no restrictions.

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 ++ development tools and the entire Visual Studio, although we have little direct access to it. Generally speaking, the Platform SDK is centered on Microsoft C/C ++ compiler rather than Visual C ++. It is clear). It works with MASM and is supplemented by other tools and documentation. 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. Differences between standard input implementation methods in C and C ++
  2. How does the C ++ compiler allocate storage space for Const constants?
  3. Basic Conception and method of C ++ Class Library Design
  4. Several Methods for converting C ++ Language
  5. How to better compile C ++ code

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.