by nvy · 2y ago · 0 comments
So for example if you #include <foo> then the compiler (actually the preprocessor, but whatever) looks in the system's standard location, whereas if you #include "foo" then it looks in the local tree.
I am posting the summary here, although please do read the original if you have time:
The most portable thing to do is to use "" for including files within your project, and to use <> only for implementation supplied files.
(Disclosure: I was one of the contributors to the C FAQ).