VC ++ foundation ---- VC ++ generates various files

xiaoxiao2021-04-09  413

Visual C as a programming language, which is also an integrated development tool that provides software code automatically generates and visualize resource editing features. During using the Visual C development application, the system generates a lot of various types of files for us, which will be described in detail in this section to do what kind of files doing in Visual C , in this basis There is a comprehensive understanding of how Visual C manages the various files used by the application.

The first thing to introduce is the extension

DSW's file type, this type of file is the highest level in VC, called Workspace file. In the VC, the application exists in the form of Project, the Project file

The .dsp extension, you can include multiple Project in the Workspace file, which is uniformly coordinated and managed by the Workspace file.

An important file type with a DSW type Workspace file is

OPT is an extension file, this file contains the configuration information about the local computer to be used in the Workspace file, so this file cannot be shared on different computers. When we open a Workspace file, if the system finds If you don't need the required OPT type file, you will automatically create an OPT file that contains local computer information.

The extension of the Project file is DSP, which is stored in this file, which is the information about a specific application, and each project corresponds to a DSP type file.

In

CLW is the file for the extension of the extension is information used to store the class and resources used in the application, which is the source of information in the ClassWizard tool in the VC and the source of information using classes.

Corresponding to each application has a readme.txt file, this file lists information on all files used in the application, open and view content, which can have a basic understanding of the application's file structure.

A large number of applications in the application is files with H and CPPs to be extension, refer to the files for the extension called header files. The file with CPP is called implementation files. Generally speaking that the file to the extension file with the CPP file is used in correspondence, in H, the H-Zhan's file is included, the main class Definition, and in the file containing the extension of the extension is the implementation code of the class member function.

Some bitmaps, menu are often used in applications, in VC

The RC is called a resource file, which contains all Windows resources used in the application. It is to be pointed out that the RC file can be edited and modified directly in a VC integration environment.

The last thing to introduce is

RC2 is an extension file, it is also a resource file, but the resources in this file cannot be edited and modified directly in the VC's integrated environment, but we will edit this file by hand.

For

ICO, BMP, etc. are specific resources for extensions, and there are many ways to generate this resource. The purpose of using the RC resource file is to manage unified management of a large number of resources used in the program.

转载请注明原文地址:https://www.9cbs.com/read-133045.html

New Post(0)