Refreshing the console

What is use to refresh the console? I use system("cls") but I think, it doesn't refresh the console. Thanks.
For Windows its system("cls");
Are you using it in Linux ?
You can't actually "refresh" the console because it doesn't have a video buffer. On Windows you could also clear the console more appropriately using this function compliments of Duoas: http://www.cplusplus.com/articles/4z18T05o/#Windows
Topic archived. No new replies allowed.