Name: Anonymous 2007-06-29 7:25 ID:gaE5eFHD
Lets say I have this following class:
class Settings {
public:
Settings(char *filename);
~Settings();
protected:
class Anotherclass anotherclass;
};
Upon the Constructor call 'Settings' it says error C2512: '' : no appropriate default constructor available. How do I get a class to be inside another class?
class Settings {
public:
Settings(char *filename);
~Settings();
protected:
class Anotherclass anotherclass;
};
Upon the Constructor call 'Settings' it says error C2512: '' : no appropriate default constructor available. How do I get a class to be inside another class?