With system() you can access any old DOS command
(if you are using Linux, any old Unix command).
#include
...
system("CLS"); // the much debased clear screen
system("PAUSE"); // wait, the hard way
system("DIR"); // list the directory
... and so on!
Not recommended if you want to have portable code!!!!
vegaseat
DaniWeb's Hypocrite
5,989 posts since Oct 2004
Reputation Points: 1,345
Solved Threads: 1,417