title: Reading input from std::cin TWICE
body: <p>As I take input from cin using the cin.get function, it will automatically update the read location from the input file. What should I do to return the read location to the beginning of the file, so that I can take in the input a second time?</p>
  
  <p>Say for instance I have the following file <em>input.txt</em>:</p>
  
  <p>"Say hello to your new world"</p>
  
  <p>and the following get loop to take in the input.txt file:</p>
  
  <pre><code>while(cin.get(charTemp)){
       numberOfChars++; 
  } 
  </code></pre>
  
  <p>How could I take in the input twice?</p>