Hi, I was wondering where I should best place my include files.
Suppose I have a class testClass which needs to include a couple of files.
Should I place the include-statements in the .cpp files or in the .h (so
one could see which files are needed?)?
Or does it depend on the circomstances? For example: include-files which
contain the type of declared members in the header, and include-files
needed for the implementation in the .cpp file?
Are there rules, or am I free to choose?
Please enlighten me :-) .
|