main.c: In function ‘main’: main.c:56: error: ‘fil’ undeclared (first use in this function) main.c:56: error: (Each undeclared identifier is reported only once main.c:56: error: for each function it appears in.)
clang是这样提示: main.c:56:22: error: use of undeclared identifier 'fil'; did you mean 'file'? freopen("file","a",fil); ^~~ file main.c:13:9: note: 'file' declared here FILE* file; ^ 2 diagnostics generated.