Thread: Getting started
View Single Post
Old 12-20-2003, 08:53 AM   #6 (permalink)
sde
Moderator
 
sde's Avatar
 
Join Date: May 2002
Location: us.ca
Posts: 4,487
sde is on a distinguished road
it's pretty common to get confused about that. what happened was that the program ran just fine and then closed itself.

since it goes so fast, you don't really see the 'hello world'

val added the line of code which makes the program wait for user input so it won't close before you can see it.

after you press a key, it hits 'return 0' and closes.
__________________
Mike
sde is offline   Reply With Quote