Re: Header include order

From: EventHelix.com (eventhelix_at_hotmail.com)
Date: 11/20/03


Date: 19 Nov 2003 19:23:46 -0800

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


Relevant Pages

  • Re: Header include order
    ... > a.c file should always include a.h as the first file. ... > a.h will always be self sufficient and header file include order ... And that's a syntax error. ...
    (comp.lang.c)
  • Re: Newbie C++ Question
    ... > Self sufficient means that it includes any header files ... > required to process your header file and idempotent means ... those are wise words and ...
    (comp.lang.cpp)