VC ++ File Extension

Source: Internet
Author: User

<

Some resources such as bitmaps and menus are often used in applications. files with the RC extension in VC are called resource files, which contain all the windows resources used in applications, it should be noted that RC files can be edited and modified in a visual manner directly in the VC integration environment.

>

Knowledge extension:

========================================================== ==========

As a programming language, Visual C ++ is also an integrated development tool that provides automatic software code generation and visual resource editing functions. In the process of developing applications using Visual C ++, the system generates a large number of various types of files for us, this section describes the roles of these different types of files in Visual C ++, on this basis, we have a comprehensive understanding of how Visual C ++ manages various files used by applications.

First, we need to introduce the file type with the DSW extension. This type of file is the highest level in VC and is called a workspace file. In VC, an application exists as a project, and the project file uses. DSP extension, which can contain multiple projects in the workspace file for unified coordination and management.

An important file type that works with a workspace file of the DSW type is a file with the OPT extension, this file contains the configuration information about the Local Computer Used in the workspace file, so this file cannot be shared on different computers. When we open a workspace file, if the system cannot find the required opt-type file, it will automatically create an opt file with local computer information.

As mentioned above, the project file extension is DSP, which stores information about a specific project, that is, specific applications, each project corresponds to a DSP-type file.

Files with CLW extensions are used to store information about classes and resources used in applications. These information is the information source for managing and using classes by classwizard in VC. It is actually the format of the INI file. Sometimes there is a problem with classwizard. You can solve this problem by manually modifying the CLW file. If this file does not exist, you will be prompted whether to re-create it every time you use classwizard.

Each application should have a readme.txt file, which lists the information of all the files used in the application. You can have a basic understanding of the file structure of the application by opening and viewing the content.

Files with H and CPP extensions are widely used in applications. Files with H extension are called header files. Files with CPP extension are called implementation files. Generally, files with H extension and files with CPP extension are used in one-to-one mode, objects with the extension H contain the definition of classes, while objects with the extension CPP mainly contain the implementation code of class member functions.

Some resources such as bitmaps and menus are often used in applications. files with the RC extension in VC are called resource files, which contain all the windows resources used in applications, it should be noted that RC files can be edited and modified in a visual manner directly in the VC integration environment.

Finally, we will introduce a file with the RC2 extension. It is also a resource file, but the resources in this file cannot be directly edited and modified in the integrated environment of VC, instead, we manually edit the file as needed.

For files with ICO, BMP, and other extensions, there are many ways to generate such resources. The purpose of using RC resource files is to uniformly manage a large number of resources used in the program.

The following files can be discarded in the project. Some files are automatically generated by the VC after they are deleted.

. NCB does not compile the browsing file (No compile browser ). You can delete this file when the Automatic completion function fails. It is automatically generated after build.

The. Opt project parameter file for the development environment. Such as the tool bar location and other information; (can be discarded ).

. APS (appstudio file), Resource auxiliary file, binary format, generally do not care about it.

. PLG is a compilation information file. The error and warning information files during compilation (actually an HTML file) are generally of little use. in tools> options, an option is provided to control the generation of this file.

. HPJ (help project) is the project for generating help files, which can be processed using microsfot help compiler.

. MDP (Microsoft devstudio project) is an earlier version of the project file. To open this file, you will be prompted to convert it to a new DSP format.

. BSc is used to browse project information. This file is required if source Brower is used. if you do not need this function, you can remove the generate browse info file in project options to speed up compilation.

. Map is the image information record file of the execution file. Unless you are familiar with the underlying system, this file is generally not needed.

. PCH (pre-compiled file) is a pre-compiled file, which can speed up compilation, but the file is very large.

. PDB (Program database) Records Program-related data and debugging information, which may be useful during debugging.

. Exp is generated only when the DLL is compiled, and some information in the DLL file is recorded. It is generally useless.

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.