C File I/O and Binary File I/O BY ALEX ALLAIN In this tutorial, you'll learn how to do file IO, text and binary, in C, using fopen , fwrite , and fread , fprintf , fscanf , fgetc and fputc . FILE * For C File I/O you need to use a FILE pointer, which will let the program keep track of the file being accessed. (You can think of it as the memory address of the file or the location of the file). For example: FILE *fp; fopen To open a file you need to use the fopen function, which returns a FILE pointer. Once you've opened a file, you can use the FILE pointer to let the compiler perform input and output functions on the file. FILE *fopen(const char *filename, const char *mode); In the filename, if you use a string literal as the argument, you need to remember to use double backslashes rather than a single backslash as you otherwise risk an escape character such as \t. Using double backslashes \\ escapes the \ key, so t...