NXC  Version 1.2.1 r5
 All Data Structures Files Functions Variables Groups Pages

This is an example of how to use the cstdio API functions: fopen, fprintf, fputc, fputs, fseek, ftell, fclose, feof, fflush, fgetc, fgets, getc, putc, rewind, printf, sprintf, rename, and remove.

task main()
fclose(byte handle)
feof(byte handle)
fflush(byte handle)
fgetc(byte handle)
fgets(string & str, int num, byte handle)
fopen(string filename, const string mode)
fprintf(byte handle, const string & format, variant value)
fputc(char ch, byte handle)
fputs(string str, byte handle)
fseek(byte handle, long offset, int origin)
ftell(byte handle)
getc(byte handle)
putc(char ch, byte handle)
remove(string fname)
rename(string oldname, string newname)
rewind(byte handle)