preprocessor searches in an implementation-defined manner, normally in directories pre-designated by the compiler/IDE
header files for the C standard library
to include programmer-defined header files
typically includes same directory as the file containing the directive (unless an absolute path is given)
< and >
refer to a header, which isn't necessarily a file
the implementation first looks for a file of the given name
if the search fails, the implementation behaves as though
#include <file>) form was used
the only real difference is "header" versus "source file"
Using double quotes means that you intend to include a "source file"
angle brackets mean you intend to include a "header" which
may not be a file at all
usually is, and almost always should be) a ".h" file
causes the replacement of that directive by the entire contents of the header
Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.