I am writting a simple app and using g++ to compile.
I am using seperate .cpp and .h files for each class. I have a main.cpp and .h that includes all of the .h files for each class.
Some of the .cpp files are not found and I had to actually do a #include "Contact.cpp" to get it to compile. Is there something special I need to do to avoid having to do #include for the .cpp files? Do I have to resort to creating a makefile to get around this?