title: How to skip first line of input file in C?
body: <p>I am new at C programming. I have an input file and I want to skip first line of the input file and try to compose output file.My file contains some graph information. I want to get u,v,w values from input file instead of user enters.But I am getting no value for u,v,w.</p>
  
  <pre><code>printf("Enter (u v w):\n");
      for(i = 0; i &lt; edges; ++i){
          scanf("%d%d%d", &amp;u, &amp;v, &amp;w);
       }
  </code></pre>
  
  <p>I tried like this :      </p>
  
  <pre><code>fgets(buffer, 1024, inputFile);       
          while( ( ch = fgetc(inputFile) ) != EOF )   
          {
           sscanf(buffer, "%d%d%d", &amp;u, &amp;v, &amp;w);
            }
  </code></pre>