Soundman32

Member
  • Content count

    1
  • Joined

  • Last visited

Community Reputation

100 Neutral

About Soundman32

  • Rank
    Newbie
  1. Question in including header files (C++)

    Paths in include directives are relative to the file that included it. source tree: / /stuff /stuff/source If a file in /stuff/source includes ../fred.h, then fred.h must appear in /stuff Also, if /stuff/fred.h needs to include /stuff/john.h, then it must #include "john.h" The alternative is to list all your include paths in your makefile/project and then use include <name.h>, but this usually becomes unwieldy after a while.