Another C++ question

Non-platform specific questions.

Another C++ question

Postby Freddy » Sat Dec 29, 2007 11:25 pm

Ok, I have a complier thing, and Im getting sick and tired of doing stupid "Hello world" commands. What I really want to know, is how to get an image (prefferably bmp or png) appear on the screen. Or perhaps more importantly, how to make a window pop up, instead of that old-looking black box thing with a gray outline. Ive searched high and low on the internet, but I cant find a code that will work! Every time I try a sample code, there is an error message. Anyway, I'll give a point to anyone who can answer the question. :D
Hola
User avatar
Freddy
 
Posts: 548
Joined: Sat Jun 02, 2007 3:42 pm
Location: Why do you want to know?
Score: 14 Give a positive score

Re: Another C++ question

Postby MrScience101 » Sat Dec 29, 2007 11:55 pm

I need to know the exact name and version of your compiler and the operating system you are using. For instance Visual Studio.net C++ 2002. Make sure you tell me the language too, then I can help you out.
User avatar
MrScience101
 
Posts: 115
Joined: Tue Mar 20, 2007 9:52 pm
Score: 13 Give a positive score

Re: Another C++ question

Postby Freddy » Sun Dec 30, 2007 12:35 am

Im using visual c++ 2008 express edition. Dont ask why its 2008... Oh yeah, and my title is Another C++ question, so I dont think I have to tell you the language.
Hola
User avatar
Freddy
 
Posts: 548
Joined: Sat Jun 02, 2007 3:42 pm
Location: Why do you want to know?
Score: 14 Give a positive score

Re: Another C++ question

Postby MrScience101 » Sun Dec 30, 2007 2:10 pm

Lol good point. Alright well what I am going to give you tells you how to do it with Visual C++ Express 2005. Hopefully they are simlar. Read the HOW TO COMPILE.TXT in the follwoing zip file:

http://www.MrScience101.com/2dGameEngine.zip

I'll warn you now, that whenever there is a Microsoft word involved the process is difficult and takes hours. I used the above engine to write my computer games and they would take years and never finish. Now I can do it in hours thanks to Game Editor. It's awesome! I have never met Markslane, but he must be one heck of a guy.
User avatar
MrScience101
 
Posts: 115
Joined: Tue Mar 20, 2007 9:52 pm
Score: 13 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron