2006-01-05

C|C++|The correct way to include header files


The compiler searches for the files in different locations based on the the way they are included.
If included with < > , it searches in the predefined include path, and if included with " ", then it searches in the current directory.
Examples :

#include <>
#include "mymodule.h"

0 Comments:

Post a Comment

<< Home