more include file problems
okay, ive now understood how C++ links files togethere as seperate modules with .h and .cpp files doing seperate things. my problem now is that i have two objects/classes. one is my configfile reader/writer, the other is a controller for a laucnhed process (which also contains stats like running time etc) the thing is that now i ve cut and paste all my code into differnt files, how do i create the two objects without getting multiple declaration errors? do i need to rewrite them as all seperate fucntions, but n that case where would i keep the variables?