+ 1
Why the output does nt remain on the screen when using int main(); nd return 0;
3 Antworten
+ 3
add cin.get(); before return 0; or system("pause");
+ 1
thanks
+ 1
you can use the getch() function by including the conio.h library. and you should use getch just before the return 0 statement.
i think now it will work. and if you are using Turbo c++ then it will definietly work.
the getch() function is used for holding the output.