View Single Post
Old 05-07-2008, 01:01 PM   #3 (permalink)
Deceth
Still learning the ropes
 
Join Date: Dec 2007
Posts: 28
Reputation: 10
MMOFaces Profile: None Yet
Default

You didn't do anything wrong. The reason the screen closed is because it has finished executing your program and so it exits.

It's actually displaying the Hello World then closing really fast.

Your best bet is to run your program through the Command Prompt so that the window does not close after execution. To do this:

Go to start, run, type cmd

You'll then need to navigate to the location of your exe file. Once you are in the correct folder just type name.exe and it will run and display your text!
__________________
I'm currently developing my first multiplayer game. Please try it out and leave me some feedback. IT'S FREE!
BattleCity Classic - Build, defend and attack cities in an endless quest for control and dominance!
Deceth is offline   Reply With Quote