VC Studio Skills Daquan 2.0 Version This is my online East to catch a west to grab a feat, it looks really tired, plus some self-satisfied, so today I will share it out! Share it! Huang Sen Tang (VCMFC) .1. Does whether parentheses in the test program match the cursor to move the cursor to the braces that need to be detected (such as parentheses {}, square bracket [], parentheses () and angle <>, type shortcuts " Ctrl ] ". If the parentheses match the correct, the cursor jumps to the matching parentheses, otherwise the cursor does not move, and the chassis speaker will also send a warning. 2. View a macro definition of a macro (or variable, function) to move the cursor to a macro you want to know, just like the most common declare_map_message, press F12 (or right Menu Go to Defition of ...), If Browse file is not created, a prompt dialog appears, determine, and then jump to the place where you define those things. Quite gratifying, it can also see the system macro defined by Microsoft, very good.3. Format a mess-of-band source code to select the source code, press ATL F8.4. Find member variables or functions in editing You cannot display the project extension as a .ncb file, reopen the project. 5. How to organize a large number of classes in the ClassView view, right-click New Folder, and drag the class with similar properties to the corresponding folder, so that the entire view looks clear. 6. Position Pretreatment Specifies to locate the cursor in the source file to the symmetrical #IF, #ENDIF, use Ctrl K.7. How to add the system lib to the current project in Project | Settings | Link | Object / Library Modules: Enter the lib name, different The LIB has a space clearance. 8. How to add the header file (.h) to the current project. #Include
There is a detailed, please refer to the 9CBS document center. 14. Generate assembly code for specified source program file: Open project settings from Project-> Setting from the IDE menu, do it as follows: 1. First select the specified file on the left, you can choose. 2. In the C property page on the right, select List files in Category, then select Assembly and source code in the list files Type below, and finally entered in a C / C source file in the list file name. The corresponding assembly code of the resulting assembly code. 3. Compile the entire project. 15. Hand-compiled pure resources into a DLL: rc.exe / v Data.rccvtres.exe / machine: ix86 data.reslink / subsystem: windows / dll / noentry data.res; compiled DLL files This method created DLL is the smallest , It is smaller than you use Win 32 Dynamic Libray. Read the documentation center of "fully tap the potential of your VC IDE", author: zhengyun_ustc, which is a series of good articles. Attached: VC project file instructions.dsp project parameter configuration file, this file is too important, focus protection objects. .. dsw workspace file, importance is general, because it is not me, it is easy to recover. The following files are discarded in the project, and some files are deleted, the VC will automatically generate. .clwclasswizard information file, actually the format of the INI file, interested in studying. Sometimes ClassWizard has problems, manually modifying the CLW file can be resolved. If this file does not exist, you will draw a reminder every time you use ClassWizard. ..ncb No Compile Browse file (No Compile Browser). This file can be deleted when the function is automatically completed. BUILD will be automatically generated. .opt engineering regarding the parameter file of the development environment. Such as information such as tool bar position; (can be discarded) .aps (appstudio file), resource auxiliary file, binary format, generally do not need to take him ..plg is compiled information file, compiled error and warning information file (actually An HTML file), the general use is not large. There is an option in Tools-> Options to control the generation of this file ..hpj (Help Project) is an engineering that generates the help file, with MicrosFot Help Compiler can handle ..mdp (Microsoft DevStudio Project) is an old version of the project file. If you want to open this file, you will prompt you to convert to a new DSP format .. BSC is used to browse project information, if you use the Source Brower, you must have this file. If If you don't have this feature, you can remove the Generate Browse Info file in Project Options. You can speed up the compilation speed .. Map is the image information record file of the execution file unless it is very familiar with the underlying layer, this file is generally used ..pch (pre- Compiled file is a pre-compiled file that can accelerate compilation speed, but the file is very large ..pdb (program database) Record some of the data and debug information related to the program, may be useful when debugging ..exp only when compiling the DLL I will generate and record some of the information in the DLL file. It is generally not used.