View Full Version: system ("pause") and cls

C++ Learning Community > C++ for Linux > system ("pause") and cls


Title: system ("pause") and cls
Description: for linux


jasonpeinko - July 23, 2005 08:51 PM (GMT)
what i can i use insted of them for linux?

C00L - July 23, 2005 09:37 PM (GMT)
you can use 'clear' instaed of cls, I am not sure if there is an alternative to pause though.

IllegalEnzyme - August 2, 2005 01:52 PM (GMT)
you could code your own and put it in /usr/bin

myork - August 2, 2005 02:37 PM (GMT)
For "Pause" you could just wait for a key to be pushed by listining to cin.

CODE
cin.get();


See the FAQ for more information and how to dit it correctly.




Hosted for free by InvisionFree