Use care when include’ing non .h files in your source code. For example:

  • #include "foo.h" resolves to foo.h, wherever it lives in your nested hierarchy of project dirs.
  • #include "bar.cpp" resolves to ./bar.cpp. If it lives outside this directory, then give it a relative pathname: #include "../foo/bar.cpp"