fatal error C1004: unexpected end-of-file found
In C++, the class
keyword requires a semicolon after the closing brace:
class Something {
}; // <-- This semicolon character is missing in your code sample.
Your class Something
needs to have a terminating semicolon.
class Something{
}; // missing
You need a semicolon (;
) after the closing brace (}
) of the class Something
definition