Originally Posted by OnlySolitaire
and so I added an <#include MyFile.cpp> to the file I modified
Maybe you were using a shorthand, but just in case...
If you created a header file to be included by other cpp files, then 99% of the time, it should be included like this:
So-called system header files use something like "#include <vector>" -- these header files are stored in pre-determined directories on the computer you're working with. Your header file is extremely unlikely to be in one of those directories.
Also, by convention, headers have a "hpp" extension and contain only #defines, class definitions, and other data type definitions--no executable code (i.e. functions) at all.
Again, by convention, a header file should have something like this:
/* Place the content of your header file here */
This prevents re-definition errors when you have multiple cpp files #include'ing the same hpp file.