| By Stanfordman99 (Stanfordman99) on Thursday, July 15, 2004 - 08:39 pm: Edit |
I downloaded the Dev C++ Compiler but it won't let me see any sample output. I can only write code. Is there any way I can see the results of the programs I write? Thanks.
| By Lame (Lame) on Thursday, July 15, 2004 - 08:49 pm: Edit |
You're used to other programs, i.e. Visual Studio, which include a handy little pause at the end of your program.
system("PAUSE");
would be the statement you're looking for. Throw it in at the end of your program to wait for the user to hit a key to exit, and anytime you want the user to input a random key before continuing.
| By Welshie (Welshie) on Thursday, July 15, 2004 - 09:26 pm: Edit |
C++ is the devil. Use Basic.
Report an offensive message on this page
E-mail this page to a friend
| Posting is currently disabled in this topic. Contact your discussion moderator for more information. |
| Administrator's Control Panel -- Board Moderators Only Administer Page |