ok, i'm still on Hello World because of this. I can compile and link my app without any warnings or errors, but when I run the .exe it will come up with a black box that prints Hello World and then dissappear. It comes up and terminates in less than a quarter of a second. I can barely see it. It does what it's suppsed to I just can't see it. If anyone knows how to make my apps so I can see them I would REALLY like to know. thanks :)

9 Years
Discussion Span
Last Post by VernonDozier

put a cin.get(); just before return 0; . This will make your app wait for a keypress to close. More about that here
Or better yet: run the app manually from a console:
-go to start->run
-type "cmd"
-go to the directory where your .exe is (with cd [your dir])
-type the name of your program

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.