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.