Re: Header include order

From: Moosebumps (purely_at_unadulterated.nonsense)
Date: 11/20/03


Date: Thu, 20 Nov 2003 08:52:55 GMT

Good article, that's exactly what I do... took a while to pick that pattern
up, since I haven't seen it mentioned in a lot of C/C++ books. Some of my
coworkers still don't know when to use forward declarations.

"EventHelix.com" <eventhelix@hotmail.com> wrote in message
news:566e2bfb.0311191923.783eb44f@posting.google.com...
> For header file includes
>
> a.c file should always include a.h as the first file. That way
> a.h will always be self sufficient and header file include order
> will not matter.
>
> The following article should help:
>
> http://www.eventhelix.com/RealtimeMantra/HeaderFileIncludePatterns.htm
>
> Sandeep
> --
> http://www.EventHelix.com/EventStudio
> EventStudio 2.0 - Generate Message Sequence Charts in PDF