Brief Introduction to the Visual C ++ Development Environment version

Source: Internet
Author: User

Visual C ++ is a development environment developed by Microsoft. Visual C ++ is a powerful Visual software development tool, visual C ++ development environments are divided into three versions: Learning edition, Professional Edition, and Enterprise Edition.

Visual C ++ has changed a lot from the earliest version 1.0 to the latest version 6.0, with many enhancements in interface, function, and library support. The latest version 6.0 has greatly improved the compiler, MFC class library, editor, and online help system compared with the previous version.

Visual C ++ development environments are generally divided into three versions: Learning edition, Professional Edition, and Enterprise Edition. Different versions are suitable for different types of application development. Any of the three versions can be used in the experiment. Visual C ++ integrated development environment IDE ).

Integrated Development Environment (IDE) is a software system that integrates program editors, compilers, debugging tools, and other tools used to build applications. The Developer Studio in Visual C ++ is an integrated development environment that integrates various development tools and VC compilers.

Programmers can edit, compile, debug, and run an application without leaving the environment. IDE also provides a large amount of online help information to assist programmers in development. In addition to the program editor, resource editor, compiler, and debugger, Developer Studio also has various tools and wizards such as AppWizard and ClassWizard, And the MFC class library, these can help programmers quickly and correctly develop applications.

Wizard is a tool that helps you guide your work step by step. Developer Studio contains three Wizards to help programmers develop simple Windows programs. They are: AppWizard: used to create the basic framework structure of a Windows program. The AppWizard Wizard will step by step ask the programmer about the features of the project he created, and then AppWizard will automatically generate an executable program framework based on these features, the programmer can then further fill in the content under this framework.

AppWizard supports three types of applications: Single-document applications based on views/document structures, multi-document applications based on views/document structures, and dialog box-based applications. You can also use AppWizard to generate the simplest console application similar to the program that uses Character Input and Output in DOS ).

  • Looking forward to the new features of Visual C ++ in VS2010
  • Exploring Visual C ++ 6.0 features
  • Introduction to advantages of Visual C ++
  • How to select an object framework in Visual C ++
  • Access data through Visual C ++ through ADO and OLEDB

ClassWizard: defines the classes in the programs created by AppWizard. You can use ClassWizard to add classes in the project, and add functions for the class to process messages. ClassWizard can also manage controls contained in the dialog box. It can associate the MFC object or class member variables with the controls in the dialog box.

ActiveX Control Wizard: used to create the basic framework structure of an ActiveX Control. ActiveX control is a custom control that supports a series of defined interfaces and can be used as a reusable component.
The MFC library is a set of source code and target code that can be reused.

MFCMicrosoft Fundamental Casses) is a class library in the Visual C ++ development environment. It provides a large number of classes to help developers quickly establish applications. These classes provide program frameworks, file and database operations, network connections, plotting, printing, and other common application operations. Using the MFC library to develop applications can reduce the workload.

Project development process
It is very easy to develop projects in an integrated development environment. The general development process of a project developed in C ++ can be shown in the left figure. The first step in creating a project is to use the editor to create program code files, including header files, code files, and resource files.

Then, start the Compilation Program. The compilation program first calls the preprocessing commands in the Preprocessing Program, such as # include, # define). The Code processed by the Preprocessing Program is used as the input of the Compilation Program. Compile and perform lexical and syntax analysis on the user program to create the target file, which includes machine code, connection commands, external references, and functions and data names generated from the source file.

After that, the connection program connects all the target code with the code of the static Connection Library Used, finds the location where it is provided for all external variables and functions, and finally generates an executable file. Generally, there is a makefile file to coordinate various parts to generate executable files.

The executable files are divided into Debug and Release versions. The Debug version is used in the program development process. the executable program generated by this version carries a large amount of debugging information and can be used by the debugging program. The Release version is the final Release version without debugging information, and there is some form of optimization.

Trainees can use the Debug version during their hands-on practice to facilitate debugging. Select whether to generate the Debug or Release version: Select menu Build | Set Active Configuration in Developer Studio. In the displayed dialog box, select the desired type, then select OK to close the dialog box.

The Visual C ++ Development Environment integrates editors, compilers, connectors, and debugging programs, covering the entire process of developing applications, programmers do not need to leave this development environment to develop a complete application.

Related Article

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.