title: error:expected ':', ',' or')' before '.' token
body: <p>I get the error <code>error:expected ':', ',' or')' before '.' token</code> in the following code:</p>
  
  <pre><code>#include&lt;stdio.h&gt;
  #include&lt;sys/types.h&gt;
  #include&lt;sys/stat.h&gt;
  #include&lt;fcntl.h&gt;
  
  void filecopy(FILE*,FILE*);
  
  int main()
  {
      FILE*fpin,*fpout;
  
      fpin = fopen("file_a.dat", "r");//
      fpout = fopen("file_b.dat", "w");
      filecopy(fpin, fpout);
      fclose ( fpin );
      fclose  ( fpout );
  
  }
  
  void filecopy(FILE*fpin.FILE*fpout)//(FILE*fpin,FILE*fpout)
  {
      char ch;
  
      ch = getc (fpin);
  
      while (!feof(fpin));//delete the ';'
      {
          putc (ch,fpout);
          ch = getc (fpin);
      }
  }
  </code></pre>
  
  <p>PS:Again,I'm sorry for my hasty and meaningless question.It was blame for my careless coding habit ,and don't think it over.I'll pay attention to asking question on stackoverflow.But I stil want to say thanks to the people who had answered and commented.</p>