Sample Files

You will not be writing any C++ code for this lab, but you will need sample programs for which you will write Makefiles. The two sample programs are available on GL:

    cp /afs/ .

After you unzip you should have the following files:

  1. For the program hello_driver:
    • hello_driver.cpp
    • hello_util.h
    • hello_util.cpp
    • Makefile.hello
  2. For the program shape_driver:
    • shape_driver.cpp
    • Shape.h
    • Shape.cpp
    • Rectangle.h
    • Rectangle.cpp
    • Triangle.h
    • Triangle.cpp