CIS 1057 - Homework 6

Handed out: 02/23/10
Due: by 10pm on 03/01/10

Using input redirection read the file data6s10.txt and print out its content. Also, print out the number of characters found in the file, the number of lines, and the number of tokens [a token is a maximal sequence of non-white characters [i.e., ' ', '\t', '\n']].
To read a character from the file use getcgar(). To write the file to the screen use putchar().

Email your programs to the TA.