title: How to reset scanf()
body: <p>How do you reset <code>scanf()</code> to read the beginning of the text without the use of <code>fopen</code> or <code>fclose</code>. </p>
  
  <p>I have a stage 1 which reads half of the text file and stage 2 requires me reset the <code>scanf()</code> to beginning of the text and read it all the way. 
  Any tips or guidance is appreciated.
  You Guys are the best!</p>
  
  <p>EDIT: The text has ONLY numbers in it and the file is opened via <code>/myprogram &lt;txt.txt</code>.</p>