This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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.

0