Alright basically I have an HPP file and a CPP file.
I have a struct and a class.
Struct perSay
{
int nub;
double dub;
perSay *do;
};
class iDk{
private:
perSay *omGptr;
public:
iDk(); // constructor
iDk(int b, c);
}
Etc. etc.
I need to create the definitions of overloading etc but I can't even start off as I don't know how to reference them in the CPP file.
I've tried... perSay::iDk()
iDk::iDk()
but none of it works. I don't understand the syntax. What do I do!?