Content originally posted in LPCWare by TheFallGuy on Thu Jun 18 03:46:59 MST 2015
Quote:
is this they only possibility to solve this problem.
Because it doesn't seem very handsome to include allways the same headerfiles in other headerfiles
Are you serious? Of course that is what you have to do.
If a header file is dependent on something defined in another header file, it should ALWAYS reference it. Otherwise, somebody using the header file will have to dig around finding all of the headers files they need to include. Take a look a standard C header files to see what I mean.