search sequence for include path when compiling

Nicholas Leippe nick at byu.edu
Wed Nov 30 06:40:22 MST 2005


On Tuesday 29 November 2005 06:37 pm, Laurent R wrote:

I'm a little rusty, but IIRC (maybe this is only C++?) if you specify:

#include "header.h"

It will search the local paths first, then the system paths, whereas:

#include <header.h>

will search only system paths.

Thus in your case:

#include "time.h" // should find your application's time.h
#include <time.h> // should find the system's time.h

-- 
Respectfully,

Nicholas Leippe
Sales Team Automation, LLC
1335 West 1650 North, Suite C
Springville, UT  84663 +1 801.853.4090
http://www.salesteamautomation.com



More information about the PLUG mailing list