Pointers enable now enable us to take input from sources other than the keyboard or file redirection (both stdin) or output to some place other than the screen (stdout). By using a FILE * we can read and write to files.
... More will be added here as time permits, but the examples are up so check them out below...
Here are two examples which use fopen(), fclose(), fprintf, and fscanf(). The first does all of its processing in main() which makes it look a little more confusing; the second still does the file i/o in main() but handles the rest of the processing elsewhere which makes it a bit more readable. The programs both preform a search which is similar to Selection Sort. Don't worry about understanding the search, just the use of the files in the program.