Exercise: Finish the data program
- Get a sample data file:
http://www.cs.uaf.edu/~cs205/notes/October4/samples/access_log-sample.txt
- Start with the sample program from the data
slide, or start from scratch
- If needed/desired, continue with the data parse (input) phase
- Add an output section that "reports" some summary statistics,
such as the number of requests, or the number of requests of a certain
type (size, filename, etc.). Note that you might need to add additional
variables to your input loop to accomplish this.
|