skip to main
|
skip to sidebar
Monday, November 17, 2008
Error C2628::Missing semicolon at the end of the class.
The error is perhaps the most common errors to encounter among C++ newbies.
class Foo {
//
empty
} //
Note: no semicolon
int main()
{
return 0;
}
Remember to include a semi colon after each class to avoid the error.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Roadblocks and Workarounds
Followers
Blog Archive
►
2010
(1)
►
June
(1)
►
2009
(3)
►
March
(1)
►
January
(2)
▼
2008
(3)
▼
November
(1)
Error C2628::Missing semicolon at the end of the c...
►
October
(2)
About Me
Sidanshu
View my complete profile
No comments:
Post a Comment