>>23
Not in this case. It just flushes the stream, which does very little since it will be flushed when
cout is destructed anyway.
It only makes sense when
cout is buffered and you wish the output to be seen immediately, rather than when the buffer is flushed. Note that
cout is
tie()'d to
cin, so using
cin will automagically flush
cout.