VS IDE Learning to use records

Source: Internet
Author: User

1. Differences and occurrences of new filters and new folders in Add

New filter: When the show all files as item option is not selected, a new filter is displayed in the Add. The filter is only a logical distinction, the actual location of the file (and the new class, etc.) are still in the original position. It is only necessary to add a path to the header file containing the filter, otherwise the compiler cannot find it, or it can be added to the inclusion directory in the VC + + directory in the right-click property of the Project (ProjectDir) XXX, (note in English; and the original separation) so that you do not have to add the path when the header file is included.

New folder: When the show all files as item option is selected, the new folder is displayed in the Add. This is the real new folder in the project directory, and the newly created file will be created directly into this file.

2. Why did the existing filters in the project disappear, resulting in a mix of header files, source files, resource files, etc. under the project?

This type of problem occurs because the ProjectName.vcxproj.filters file has an exception, you can delete the file, and then select a reliable copy of the file to replace. When the illegal information in this file does not cause the program exception, so it is not easy to detect, sometimes the version on the SVN server may have such problems, generally through the SVN diff function to view the contents of the file, and the exception section (usually the SVN file version conflict caused by manual modification).

VS IDE Learning to use records

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.