I\'ve recently started learning C++ at university and decided to advance a bit at home. I had the idea of making a program that, given a piece of text, would print out such text
You need to flush the stream, otherwise it will be cached
cout.flush();
http://www.cplusplus.com/reference/ostream/basic_ostream/flush/