sorry really simple one here have not come across this before. What is the meaning of flush in the code below.
Code:cout << "Please insert the sizes of the table? ";
flush(cout);
Printable View
sorry really simple one here have not come across this before. What is the meaning of flush in the code below.
Code:cout << "Please insert the sizes of the table? ";
flush(cout);
Look at this.
you can also use
Code:cout.flush();
You might also run into it being used like this. Does the same thing.
Code:cout << "Please insert the sizes of the table? " << flush;