lubatomy wrote: the class definition in one file and them the actual code for the functions in a seperate file These are the same thing. Typically, the declaration of a class typically goes in the .h file, and the definition of a class goes in the .cpp file. Anyway, at the top of the .h file, do you have something like:
#if !defined(AFX_MYCLASS_H__83972473_D4D1_4923_9BD8_0FD75D2FB39C__INCLUDED_)
#define AFX_MYCLASS_H__83972473_D4D1_4923_9BD8_0FD75D2FB39C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class myclass
{
}
A rich person is not the one who has the most, but the one that needs the least.