Fatal Error C1004

unexpected end of file found

The compiler reached the end of a source file without resolving a construct.

For instance, a function or structure definition may be missing a closing curly brace, a class definition may be missing a semicolon after its closing brace, a function call or expression may have mismatched parentheses, and so on.

In addition to these common causes, one of the following reasons may have caused this error:

Tips