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 :)
jerronimo3000
0
Newbie Poster
Recommended Answers
Jump to Postput a
cin.get();
just beforereturn 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 …
All 4 Replies
Nick Evan
4,005
Industrious Poster
Team Colleague
Featured Poster
jbennet
1,618
Most Valuable Poster
Team Colleague
Featured Poster
Nick Evan
4,005
Industrious Poster
Team Colleague
Featured Poster
VernonDozier
2,218
Posting Expert
Featured Poster
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.