Homework #9

Assigned: November 29
Due: December 6, 2:00pm


(80 points) [LP] Programming Project 10.2.20 on p. 267-269.

Sample test data

You will find a codebase of C/C++ source at ~perugini_cps444/share/hw7.tar. Output from sample test runs using this codebase is here.

How to submit

Note: All directory and filenames below are case-sensitive. You must use the directory and filenames exactly as shown below (i.e., all lower case).

Prepare your lex specification file as /home/<logname>/homeworks/hw9/showheaders.l and your Makefile as /home/<logname>/homeworks/hw9/Makefile, where <logname> is your login name (e.g., FA_16_CPS444_03).

Archive only your specification file and Makefile by running the following command on system from your /home/<logname>/homeworks/hw9 directory:

    tar cvf showheaders.tar Makefile showheaders.l
Only the file /home/<logname>/homeworks/hw9/showheaders.tar will be electronically collected from this location in your Linux account on the deadline.

Failure to follow these submission requirements will result in a 10% penalty.


Ninety percent of your score will come from correctness and 10% of your score will come from following our programming style guide. Applicable submission penalties will then be applied.

Return Home