🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Weird error Message appears when i try to compile

Started by
1 comment, last by leafsfan16 22 years, 6 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?
Advertisement
did you define a class or structure in the header file and forget to put a ; at the end?
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