Due Wednesday, 1999/11/03
Read sections 6.1 through 6.4 in Deitel and Deitel. Optionally, read section 1.6 in Kernighan and Ritchie.
For example:
$ cat panama.txt a man a plan a canal panama $ ./line_hist < panama.txt 0 1 2 3 4 5 * 6 ** 7 * Maximum length = 7
For fun, modify the program to do something reasonable if there are lines having 100 or more characters.
Copyright © 1999, Ray Ontko (rayo@ontko.com).