|
From: Daniel G. <sp...@ho...> - 2002-01-21 13:31:40
|
<html><div style='background-color:'><DIV>
<P>Some people use SYSTEM("PAUSE") (I think that's right) to halt the program, so you can see what's on screen. I however prefer to #include <iostream> at the beginning and at the end of the code put </P>
<P>int x;</P>
<P>cin >> x;</P>
<P> </P>
<P>This way the program waits for input before continuing.<BR><BR></P></DIV>
<DIV></DIV>
<DIV></DIV>>From: Rob Orlando <ROR...@NE...>
<DIV></DIV>>To: dev...@li...
<DIV></DIV>>Subject: [Dev-C++] Execution of program
<DIV></DIV>>Date: Sun, 20 Jan 2002 20:06:30 -0500
<DIV></DIV>>
<DIV></DIV>>I am just learning c++ and have a question. When I execute a file my
<DIV></DIV>>application only appears for a fraction of a second then disappears.
<DIV></DIV>>How do
<DIV></DIV>>I get it to stay up so I can read it?
<DIV></DIV>>Jen
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>_______________________________________________
<DIV></DIV>>Dev-cpp-users mailing list
<DIV></DIV>>Dev...@li...
<DIV></DIV>>https://lists.sourceforge.net/lists/listinfo/dev-cpp-users
<DIV></DIV></div><br clear=all><hr>MSN Photos is the easiest way to share and print your photos: <a href='http://go.msn.com/bql/hmtag3_etl_EN.asp'>Click Here</a><br></html>
|