CS 241: C++ Provided Code for Lab 1


The following files are being provided:
o makefile --- this is the makefile for compiling and linking this program and the example timing program

o lab1b.cc --- the portion of the driver provided is here

o closest-pair.cc --- This is where you'll put your implementation of the divide-and-conquer closest pair algorithm

o sort.cc --- this is called to do the sorting neededin preprocesing

o stdinc.h --- includes needed libraries and defines some const vars

o point.h --- header file for the Point class

o point.cc --- code for Point class

o Profile_Timer.h --- header file for the class used for timing

o Profile_Timer.cc --- code for the class used for timing


Return to the CS 241 Home Page