Included contents: #include the search directory in headerfile.h. If there is XXX.h found, set this directory can be resolved. Additional Dependencies: CThe Library of + + places the declarations of functions and classes in *.h, and implements them in *.cpp or *.cc. After compiling, *.cpp,*.cc,*. c is packaged into a. lib file to protect the source code. Therefore, to use a library, in addition to include his header file, but also in the link process to add lib. This is set in the attached link library. In fact, the general library will use#pragmaComment (lib, "Xxx.lib") to setThis process error will appear link error, probably "undefined function xxx". Library directory: Is the directory that is looking for the. lib file. If you set the error, the link error will prompt"I can't find the XXX.lib .". In the VS project, add C/c++basic steps for external header files and libraries in the project:1, add a project header file directory: Project---Properties---configuration properties---C + +---general---Additional Include Directories: Add header files to the directory. 2, add a file reference to the Lib Static Library Path: Project---Properties---configuration PROPERTIES---linker---general---Additional Library directory: Add lib file directory. Then add a project reference to the Lib file name: Project---Properties---configuration PROPERTIES---linker---input---Additional dependencies: Add the Lib file name. 3, add DLL dynamic library referenced by the project: Place the referenced DLL in the same directory as the project's executable file.
There are many projects in one solution to set up one project as a startup project
The start of the solution is from the public under the SExplorer.exe start!!! Here's how to set public as the startup project
VS contains directories, additional dependencies, library directories, and specific settings