Jason Felix wrote:
class MyClass{
...
}
^
You need a semicolon here: };
If this wasn't some sort of quiz question then I suggest that the next
time you give us some symptoms along with the question, like:
<imaginary quote>
The compiler gives this message, and I don't understand what it means:
error C2533: 'MyClass::__ctor' : constructors not allowed a return type
I won't bother with googling since it might turn me more experienced,
and is generally considered as a total waste of time. What's wrong?
</imaginary quote>