I get some error messages when I try to compile my code. I have two classes:
class myClass
{
...
};
class otherClass
{
...
myClass* somePtr;
};
This is one of the error messages I get when I try to compile.
error C2143: missing ';' before '*'
This error happens at the line where I declare the myClass pointer. And the declaration in the line before that DOES have a ';' in the end.
Any help how I can fix this. (I have all my code in one file).