• Advertisement
Sign in to follow this  

Using Resources

This topic is 4252 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Wnenever I try to use resources my header file has an unexpected end of file. I use Visual Studio c++ express and I was following the Game programming genesis part 2 tutorial. Even when I alter the source code from a book I bought there is still an unexpected end of file in the header. Here's the source. Please help.

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by Evil Booger
Here's the source.


Well, there's your problem. You have no source code. ;)

Share this post


Link to post
Share on other sites
#define ICON_MAIN 1000
#define CURSOR_ARROW 2000

That's all I had in my header file and the error was
"1>./gg.h(2) : fatal error RC1004: unexpected end of file found"

Share this post


Link to post
Share on other sites
I had the same error before and I think pressing enter and adding a blank line after my last define fixed the problem. I think. Something sure fixed it anyhow.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement