voltages=x_new*factor;
int volt;
FILE *ptr_file;
ptr_file =fopen("output.txt", "w");
for (volt=1; volt<=10; volt++)
fprintf(ptr_file,"%f\n", voltages);
fclose(ptr_file);
here i need to store my voltage values into a file. but when i compiling it is showing that FILE and *ptr_file is undefined.
is it possible to store data using IAR compiler..??