Possible Duplicate:
Why must I put a semicolon at the end of class declaration in C++?
Found duplicate, vote to close please.
Why do classes and structs have to be concluded with semicolon in C++?
Like in the following code:
class myClass
{
};
struct muStruct
{
};
This syntax isn't necessary in Java or C#. Why does the C++ parser need it?