[Cook] How does c_incl search for included files?

Peter Miller millerp at canb.auug.org.au
Fri Nov 15 11:21:23 EST 2002


On Wed, 2002-10-23 at 19:51, Gottfried Hegmanns wrote:
> How does c_incl search for included files?

For #include <blah> the directories are searched in exactly the -I order
you specify.

The #include "blah" search path, as specified by the ANSI C standard,
first looks in the same directory as the file doing the including, and
the in the <blah> places.

This is why I don't use #include "blah".


-- 
Regards
Peter Miller <millerp at canb.auug.org.au>
/\/\*        http://www.canb.auug.org.au/~millerp/



More information about the Cook-users mailing list