View Full Version : console window dissapear
truviet911
10-07-2009, 02:14 AM
hi guys, i have this problem.
when i write codes in c++ and build it it runs fine but then when i input some info from the console window it just dissapear so fast. i couldn't even see my result. anyone know what's wrong?
regards,
tv:D
cs_student
10-07-2009, 04:22 AM
Nothing!
The program just runs, then ends (quicker than you can see).
You can run the program directly from the terminal to see all the output.
Or you could add
system("PAUSE");
// or
cin.get();
to the end of your program.
cs_student
truviet911
10-07-2009, 05:03 AM
Nothing!
The program just runs, then ends (quicker than you can see).
You can run the program directly from the terminal to see all the output.
Or you could add
system("PAUSE");
// or
cin.get();
to the end of your program.
cs_student
very cool! it works.
thank you cs_student.
im just learning c++ when i master at this probably move to c programming
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.