Advertisement

Weird error Message appears when i try to compile

Started by December 30, 2001 12:43 AM
1 comment, last by leafsfan16 22 years, 8 months ago
Every time i attempt to compile a very very simple windows program I get an error from Visual C++ saying: fatal error RC1004: unexpected end of file found. It says that the unexpected error comes from my header file. I have no idea how to fix this problem and I have tried everything. Does anyone know what to do to fix this problem?
did you define a class or structure in the header file and forget to put a ; at the end?
Advertisement
I most often get that error either by forgetting a ";"(like B-Barlow said) at the end of a class, or i forget a "}" somewhere in the program. Check your program and see if there is a "{" somewhere without a "}".

This topic is closed to new replies.

Advertisement