FILE *fin error

Any one know the solution, please reply.

After declaration,

FILE *fin;

and implementation,

fin = fopen ("test.txt","r");

The error message results
when compiling:

Build target 'ADuC7020'
assembling Startup.s...
compiling ADC.c...
ADC.C(30):error C67:'FILE': undefined identifier
ADC.C(31):error C67:'fin': undefined identifier

I already include the header file 'rtl.h'
in my program.

Parents Reply Children
No data
More questions in this forum