Menu

Help with Dev-c++

Silvia o
2008-09-29
2012-09-26
  • Silvia o

    Silvia o - 2008-09-29

    Im running windows xp and I downloaded dev-c++ when i go to compile a program it succesfully does it but when i go to run it the black screen only pops up for a second and then dissapears how do i fix that??
    please help

     
    • Jeff

      Jeff - 2008-09-29

      At the end of your program you have to put system("pause");

       
    • Wayne Keen

      Wayne Keen - 2008-09-29

      Please note that this question, and many more, are answered in the thread in this forum titled "Please Read Before Posting a Question" - check it out.

      Wayne

       
    • cpns

      cpns - 2008-09-29

      Your program ran to completion so the OS closed the program's windows as it always does in such circumstances, but nonetheless it always seems to surprise people when it happens to their own programs.

      Make your program 'interactive' - i.e. make it wait until you choose to terminate it. By whatever means, that suggested above is just one of them.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.