Homework #7

Assigned: November 3
Due: November 17, 12:30pm


(80 points) [LP] Programming Project 11.2.1 on p. 227-228 in § 11.2.20.

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/hw7/showheaders.nex and your Makefile as /home/<logname>/homeworks/hw7/Makefile, where <logname> is your login name (e.g., FA_15_CPS444_03).

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

    tar cvf showheaders.tar Makefile showheaders.nex
Only the file /home/<logname>/homeworks/hw7/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