Lab 8

May 25, 2023
Lab 8 is the first lab in C++. In this lab, you will begin working with C++ classes by creating Sample and SampleGroup classes. Remember, this is a timed assignment. Please hand in whatever you have accomplished in the first 120 minutes of work.

To Do

Download the following files to bertvm and follow the instructions given in proj5Base.cpp.  ( This is a starting point for project 5. )  Hand in to Gradescope whatever you have accomplished in the first two hours.  Note that tasks 1-4 are for lab purposes only, and should be removed or commented out before submitting Project 5 as a homework assignment.
  • proj5Base.zip  contains the following:
    • proj5Base.cpp
    • Sample.h
    • Sample.cpp
    • SampleGroup.h
    • SampleGroup.cpp
In order to compile a .cpp file you must use g++:   g++ -g -o proj5Base proj5Base.cpp Vertex.cpp VertexSet.cpp The use of a makefile ( to be explained soon ) can make life easier.