C++ header file includes <> paths
Quick background. I'm using the following:
- Windows XP
- Visual Studio 6.0
When you specify a #include like the following where does it look for this header file:
#include <msxml.h>
Is it looking at an environment 开发者_StackOverflowvariable to determine which paths to look at? If so which one?
If you're using the IDE, it sets the various search paths through GUI options in in Tools->Options->Directories.
(See also Visual Studio 2008 (C++) additional directories for debugging?.)
The environment variable is called, easily enough, INCLUDE
. You can also manually specify additional include directories with -I/path/to/include
.
And as a side note, it's 2011. 1996 passed a looong time ago..
精彩评论