For a cpp program in dos if I wanted to do this I would do a system call to pause like this #include<cstdlib> ... system("pause" and that works. unfortunately, "pause" isnt a system command in Unix, although I can press the pause button on my keyboard and produce the desired effects.
Does anyone know the unix equivalent of dos's "pause", or some other way to accomplish the same thing in Unix?
Does anyone know the unix equivalent of dos's "pause", or some other way to accomplish the same thing in Unix?