Several of you have asked this so I'll reply to the class.
Prof. McBryan,
I am running my C code using gcc in Unix. After compilation, I get an a.out file. My code executes in the same window that I use for compilation. I remember you saying that a new window should come up on execution of the program. Is that required, or can I have my code execute in the same window?
Either way is fine. The most natural is for your program to simply output text. That way you can execute it in a window or pipe the output to lpr. If you make it open a window, it is harder to send output to a printer! Keep things simple. If you want the fancier behavior you can always use xterm -e hw1 to create a window and execute hw1 in it. So you lose nothing by doing the simpler version.
Also, I was not clear what your preference is? Is it required to submit the code for assignment 1 or can it be clubbed with assignment 2 with no submission made at all for the first one?
It is fine to submit both assignment 1 and 2 at one time, on 18th. I would strongly recommend getting #1 working by 11th. The issues in #2 are quite different - all the effort goes into writing one routine, line_to or line. However the much more complex framework of libindep.cd and libdev.c etc will have been created in #1 and is used in #2.
We will also demo #1 and #2 together unless you make a special request to the grader to demo #1 first. We may even demo #1-3 together as they each build on each other. #3 will also be very localized - it simply adds line clipping to the code, which again affects only one routine.