Menu

#2 unmatched brace error

open
nobody
None
5
2001-06-05
2001-06-05
Anonymous
No

class myclass
{
int myvar;
public:
myclass() : myvar(0){}
};
generates an unmatched brace error unless there is a
space between the initializer and the opening brace

Discussion


Log in to post a comment.