#include absolute path syntax in c/c++
Every implementation I’m aware of, and certainly MSVC 2005 and linux, allows you to specify the directory paths in which to find header files. You should include D:\temp\temp_lib on the list of directory paths, and then use #include <temp.h> For gcc, use -I path. For MSVC, see Where does Visual Studio look for C++ header … Read more