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);
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);
you can also use
Code:cout.flush();
What can this strange device be?
When I touch it, it gives forth a sound
It's got wires that vibrate and give music
What can this thing be that I found?
You might also run into it being used like this. Does the same thing.
Code:cout << "Please insert the sizes of the table? " << flush;
It is too clear and so it is hard to see.
A dunce once searched for fire with a lighted lantern.
Had he known what fire was,
He could have cooked his rice much sooner.