title: Read Multiple Integers From line - C
body: <p>I am trying to read multiple integers from a 500Mb text file where the integers are int the format</p>
  
  <pre><code>1000002 1 55
  1000002 1000006 33
  1000002 1000007 8
  1000002 1000009 144
  </code></pre>
  
  <p>When i try and read the integers i have the problem where the program does not read enough the entire file and of that file that it read's it does not seem to be the correct values my code is</p>
  
  <pre><code>FILE *file;
      file = fopen("user_artist_data.txt", "r");
      int User_ID, artist_ID, Play_Count = 0;
      int check = 0;
      while(fscanf(file, "%d %d %d", &amp;User_ID, &amp;artist_ID, &amp;Play_Count) != 0)
      {
          check++;
          printf("%d %d %d\n", User_ID, artist_ID, Play_Count);
      }
      fclose(file);
  </code></pre>
  
  <p>Can you please help me with fixing my code. 
  Thank you</p>