Where should I include header files, in the .cpp or in the .h file?
I am working on a project now and trying to come up with a clean way to follow once and for all. The state now is, files are included in both .cpp and .h files. For example, sometimes they have #include in someFile.h and sometimes in someFile.cpp.
I wonder, does it matter where you do the include? It works both ways, but are there any pitfalls?
Thanks