Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

defiant147

somebody help me

This topic is 6097 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

This is probably a stupid Question but, When I run a C++ program (the tutorials, from a book, etc) the window won''t stay open and they close. What is wrong, did I miss something? I keep reading that that windows should say "press any key to continue". What I want to know is why the MSDOS window won''t stay open. I have only seen "hello world" flashed on the screen for a second at most. I have tried to figure out what''s wrong but can''t. Remember I am new to C++ when you''re responding.

Share this post


Link to post
Share on other sites
Advertisement
this happened to me too, i figured out how to solve this problem but i forgot how. It has to do with how you''re compilling it like as a release or debug etc etc. I cant quite remember

Share this post


Link to post
Share on other sites
Thanks everyone, that answered my question.
You couldn''t believe how many things I did trying to figure it out. I can actually see "HelloWorld" now, not just it being flashed for a second across the screen.
thanks again,
defiant147

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!