Home > Back-end >  VS2015 C unable to open the source file
VS2015 C unable to open the source file

Time:02-13


Recently took over a c + + programs, is written VS2015 project files, open later found that a lot of header files through the # include couldn't introduce (header file exists), to solve the

CodePudding user response:

If there are no other link library, completely is the program source code, you can do so
Create a new empty project, and then make a copy of the original project of CPP files and h files to a new file corresponding to the folder, then right click on the corresponding folder in the new project, select add existing items, the items that are copied added to recompile

CodePudding user response:

Header file is

So is almost path is wrong because it is over,
Open the project configuration page, select - configuration familiar C/C + + - regular, in the directory containing the bar to you these first fill in the files in the directory

CodePudding user response:



In additional include directories, fill in those who are not able to be introduced in the header file paths

CodePudding user response:

The project properties, vc + + - contains directory here to set up the related folder

It won't find in the corresponding files

CodePudding user response:

Why I put. Still couldn't open after the h of the decision-making path. H file??

CodePudding user response:

Perfect solve the problem, too much

  • Related