title: How to delay output in C++?
body: <p>I am doing a project that need to read data from a file.<br>
  But before the file is opened i want to display  <code>Loading . . . . .</code> 
  I want the dots after "Loading" to get printed one by one and each after about 2-3 seconds and then i display my file's contents. That is, after first 3 seconds <code>Loading .</code> displays and after another 3 seconds <code>Loading . .</code> displays and so on.
  I Couldn't find a way to do, please help.</p>