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 :)

Recommended Answers

All 4 Replies

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

thats not an error thats normal

thats not an error thats normal

(S)He never said it was an error?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.