Using Files
Input and output
FILE type

/*wk8ex1.c*/
/*Here we show how to read a file*/

/*wk8ex2.c*/
/*this is the same program as wk8ex1.c except I have added print statements to give us and idea of what is going on.

I would like to tell you that I did this just to illustrate the method for students. But, in fact, I had to write this first before I could get wk8ex1.c going*/

/*wk8ex3.c*/
/*Here we show how to write a file*/

/*wk8ex3a.c*/
/*This is the same as wk8ex3.c except that here we use pointers rather than counting through the array*/



This page is at: http://testbed.cis.drexel.edu/Cindex*.html