Hi
I have problem using fprintf. I have #include <stdio.h>, and printf works just fine. Why is the fprintf not working?
I have tried with this toy code:
FILE *fid;
fid = fopen("test","w");
fprintf(fid,"Hello, world\n");
fclose(fid);
But the compiler complains: error: unrecognized token.
Any idea why?
Thanks in advance!