I am writing code in c.
I declare FILE * fp in the main function (main.c).
We have other files in the project.
Therefore, in the header file, I get this error:
"expected declaration qualifiers or" ... before the "FILE problem"
on this line:
void myfunct (argument argument, FILE * fp),
What am I doing wrong?
Work on Linux (gedit + gcc).
Chrisasl
source
share