title: Where should I include header files, in the .cpp or in the .h file?
body: <p>Where should I include header files, in the .cpp or in the .h file?</p>
  
  <p>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.</p>
  
  <p>I wonder, does it matter where you do the include?
  It works both ways, but are there any pitfalls?</p>
  
  <p>Thanks</p>