1.

Solve : visual C++ error messages?

Answer»

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).



Discussion

No Comment Found