Name: ____________________________________________________ Alpha: _____________________

Describe help received: _________________________________________________________________

  1. [10pts] TRUE/FALSE questions.
  2. [50pts] Look at hw.cpp from last lecture. Download Makefile. The program uses a point struct and a struct hhmmss. Break the program as follows: The files will be compiled with the following command:
    make hw
    
    Inspect Makefile and check how the above command works. Here are the sample runs.
    $ ./roach
    Enter a time: [01:00:20]
    This was before the first sighting at (6.67,0.03)
    
    $ ./roach
    Enter a time: [02:40:10]
    The roach was somewhere between (3.08,0.61) and (2.05,4.7)
    
    $ ./roach
    Enter a time: [04:00:00]
    This was after the last sighting at (2.24,5.43)
    

    Turn in

    Turn in all relevant h and cpp files as follows:
    ~/bin/submit -c=IC210 -p=hw29 *.h *.cpp