Comments on Project 4

Comments on Project 4

Here is a list of clarifications that I and the TAs have made to Project 4 so far, based on questions you have asked. For your convenience, I will try to maintain an up-to-date list of clarifications here.

  1. Whether you want to echo the assignment statements to the screen or not is up to you.

  2. You should use binary search and not linear search in the symbolTable class. This is because insert maintains the words in sorted order.

  3. You should resize the Vectors in the symbolTable class when necessary.

  4. The file mystring.h that I placed on the fileserver is missing the ifndef/define/endif compiler directives. This means that including mystring.h in multiple files will cause an error. To get around this, either add the ifndef/define/ endif statements to the file or include this file only in symbolTable.h and not in project4.cpp.