Usually, you make a header file of the class with it's prototype and include it in your main program using double quotes instead of <>. This is how it's done with libraries that are compiled. In your case, this leaves the Class.cpp file unlinked. You could put an include at the end of the header file, or in this case I believe that you can just include the Class.cpp in your main source:
#include "Class.cpp"