Wednesday, February 27, 2013

What is the difference between '#include' and '#include "File"'?


It is compiler dependent. Generallly '#include "File"' prioritizes headers to be checked in the current working directory over system headers. And if there is not a suitable match, it moves on to check the system paths. "#include <File>" always looks out for system headers.

No comments :