I want to write data from a C program to a file, so that Excel can read the file to plot a graph of the data. But I\'m not sure of the exact syntax to use for fprintf.
I have st
should be enough, but be careful because the structure's name is FILE (all uppercase) and not File. Finally, dont forget to close the file calling fclose()