CS 241: C++ Provided Code for Lab 2


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

o stdinc.h The standard include file has been modified for file I/O

o inventory.cc This is the main program that will use the dictionary ADT

o input.h This is the header file for a simple Input class

o input.cc The implementation of the methods for the Input class

o data-record.h This is the header file for a DataRecord class

o data-record.cc This implements the methods to access the data

o dictionary-record.h This is a header file for a record in the dictionary

o dictionary-record.cc This implements the method for the dictionary record class

o dictionary.h This is the header file for the dictionary

o dictionary.cc This is the ``template'' for the implementation of the dictionary

o demo-file-io.cc This demonstrates the use of file I/O in C++

o hash-test The test data for the portion besides load/save

o hash-test-part2 Additional test data for those doing load/save


Return to the CS 241 Home Page