title: srand(time(0)) and random number generation
body: <pre><code>srand(time(0)) 
  </code></pre>
  
  <p>is used in C++ to help in the generation of random numbers by seeding rand with a starting value.</p>
  
  <p>But, can you explain what it exactly does?</p>
  
  <p>Thanks.</p>