View Single Post
Old 03-27-2003, 06:38 PM   #2 (permalink)
abc123
bloomberg
 
abc123's Avatar
 
Join Date: Jun 2002
Location: bloomberg
Posts: 263
abc123 is on a distinguished road
Send a message via AIM to abc123 Send a message via Yahoo to abc123
heh...

it outputs to a window because thats what your program is sposed to do..


to make the window stay open do:

Code:
#include <cstdlib>

int main(){
 //...
//..

 system("pause"); // note this
 return 0;
}
fyi, a good c/c++ dev system on windows is "bloodshed" www.bloodshed.net if i remember correctly...
__________________
-- bloomberg.
abc123 is offline   Reply With Quote