Thanks for the answer Greg...

The question is why doesn't Pilot.h protect itself from being included
multiple times?  Seems a bit silly not too?

Thanks
- Dan

>       #ifndef MYPILOT_H
>       #define MYPILOT_H
> 
>       #include <pilot.h>
> 
>       #endif          // #ifndef MYPILOT_H
> 
> I never directly include "pilot.h", only "MyPilot.h".  The 
> MYPILOT_H macro
> prevents multiple includes of "pilot.h", and the related errors.
> 
> Hope this helps.
> 
> Greg
> 
> Greg Winton
> Bachmann Software and Services, LLC
> mailto:[EMAIL PROTECTED]
> http://www.bachmannsoftware.com
> 
> 

Reply via email to