#ifndef _HEADER_
#define HEADER
//...
//some code
//..
#endif
Project handling
As my project has grown larger and larger the problems have also grown.
I constantly get errors like "Base class undefined" and stuff like that.
After a lot of headache you solve the problem by changing the order you include things
or something like that.
Do you have any tricks to handle all headers without problems?
I already use the:
Just make one global header that includes every other header in the project... this will solve the double include cases as well as your problems... It will also speed up compilations in many cases.
Hope this helps, Dark
Hope this helps, Dark
ICQ: 130925152Email: e.j.folkertsma@student.utwente.nl
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement