Thread: C++ run issue
View Single Post
Old 07-17-2005, 11:38 PM   #4 (permalink)
Something Sexy
 
True Techie

Join Date: May 2005

Posts: 141

Something Sexy

Send a message via AIM to Something Sexy
Default

If your just trying to get some information on the screen and you wanna see what the program does, just toss this in at the end of the program, before the exit or return line:

char trash;
cin>>trash;


Then when the program runs, it will do whatever your program does up to the cin line, then just type in any character and hit enter and the program will end. Just do this for now until you learn more about programming and you can do something fancier later.
Something Sexy is offline