I want to use the system("cls") function to clear the console but I also want to display a message first. Problem is the message is displayed and then the console is immediately cleared. How can I make the program to execute the system("cls") a few moments after the message has been shown ? Thanks ! I am working in c++ by the way.
#error This file requires compiler and library support for the \
ISO C++ 2011 standard. This support is currently experimental, and must be \
enabled with the -std=c++11 or -std=gnu++11 compiler options.
#endif