Tag Archives: C/C

C / C + + cannot open the source file directory, the header file is not imported, the solution is as follows

The two methods
Configure the various dependencies
1. Project, Properties, C/C++, Additional Includes Directory: Fill in Additional Includes Directory “add. H file folder path semicolon interval multiple
2.
3
3
3
3
3
3
3
3
3
3
3> Item, Property, Linker, Input, Additional Dependency: Fill in the name of the additional dependency library. Lib space or semicolon interval multiple
Two, the use of code directly import
Copy the required xxx.h file to the compile file
Copy the required copy of the xxx.lib library to the build


Solve the problem that the header file of “graphics. H” cannot be loaded in vs2015

PS: For all versions of VS, you just need to download the corresponding lib and include folders. The operation method is the same
First need from this baidu disk address link: click the link, password for wi9b password: wi9b
Then download the following two files:
After downloading, open the downloaded folder Inlcude, copy the two files inside, and then paste into

In the folder shown in the above image, continue to open the downloaded lib2015 folder, select all the contents, copy and paste into

As shown in the above picture, since my VS2015 is on the D disk, these two folders are under the VS folder under the VS2015 directory you installed.
Then we can run the “graphics.h” header file in VS2015, which contains rich drawing functions!!