System Equivilants

I can't find a topic on this, though one must exist. I was wondering if someone knew the equivilant to these system commands.

System("color")

System("cls");

system("pause"), or system("pause>nul") <- Same as pause, but without hit enter

system("title xx")

That's all I can think of, but if anyone else has anyore just post them.
Instead of System("pause") I prefer to use:
1
2
cin.sync();
cin.ignore();
And then you just press enter to continue.
Last edited on
Thanks, but can you explain. Cin.sync();
http://www.cplusplus.com/reference/iostream/istream/sync/
This effectively means that the unread characters [...] are discarded.
Topic archived. No new replies allowed.