system("pause");
Dear c++/g++ programers:
when I use system("pause") at the end of my c++ program, after I run it,
-----
root@eric-laptop:/home/eric/cppcookbook/ch11# ./a.out
rho = 3, theta = 1.5708
rho = 5, theta = 0.643501
sh: pause: not found
root@eric-laptop:/home/eric/cppcookbook/ch11# pause
pause: command not found
---------------------------------------------------------
I don't know which bash shell I use, I use ubuntu10.04 based linux
is my program right?
(sh: pause: not found) seem a little bit out of expectation
thanks any expert's reply and help in advance, Eric
|