Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / First Program

Author
Message
roblot
16
Years of Service
User Offline
Joined: 3rd Jan 2008
Location:
Posted: 4th Jan 2008 02:21
I am trying to run my first program. I typed in the code for the Hello world program, but all I get when I start the program is the black main window and no image. I have attached the main.cpp file so you can see my code. Please help

roblot

Attachments

Login to view attachments
Pharoseer
17
Years of Service
User Offline
Joined: 21st Feb 2007
Location: Right behind you
Posted: 4th Jan 2008 04:31
Most likely the problem is that it isn't finding the "animatedsprite.png" file. You have to make sure that file is in the same folder as your main.cpp file or it won't be able to find it.

I'm guessing that the reason your previous post was locked was because this question has been asked many times before.

Hope this helps,
-Frank

Login to post a reply

Server time is: 2024-09-29 09:22:43
Your offset time is: 2024-09-29 09:22:43