title: Loop every 10 second
body: <p>How to load a loop every 10 second and add +1 to the count and print it?</p>
  
  <p>like:</p>
  
  <pre><code>int count;
      while(true)
      {
         count +=1;
         cout &lt;&lt; count &lt;&lt; endl; // print every 10 second 
      }
  </code></pre>
  
  <p>print:</p>
  
  <pre><code>1
  2
  3
  4
  5
  ect...
  </code></pre>
  
  <p>i dont know how, please help me out guys</p>