title: skip the first input of a text file in c
body: <p>Anyone knows how to do this in C Language?</p>
  
  <p>INPUT: (input.txt)</p>
  
  <pre>
  2 WORD WORD WORD
  </pre>
  
  <p>OUTPUT:</p>
  
  <pre>
  File contains: 2 word
  Word are: WORD WORD
  </pre>
  
  <p>*I'am new in C Programming, and i am practicing my self.
  i have a little code, but not fixing yet this problem.
  here's my code:</p>
  
  <pre><code>#include&lt;stdio.h&gt;
  
  int main(){
      FILE* f = fopen("input.txt","r");
      char c;
      int l = 1;
  
      if(f == NULL){
          printf("File not found!");
          return;
      }
      c = getc(f);
      while(c != EOF){
          if(c == ' '){
              l++;
          }
          c = getc(f);
      }
      fclose(f);
  
      printf("File contain: %d word",l);
      return 0;
  }
  </code></pre>
  
  <p>Thanks!</p>