$35
CSCE 240 Homework 2
You shall submit a zipped, and only zipped, archive of your homework directory,
hw2. The directory shall contain, at a minimum, the files parse scores.cc and
parse scores.h. Name the archive submission file hw2.zip
I will use my own makefile to compile and link to your parse scores.cc and
parse scores.h files. You must submit, at least, these two files.
I decided that Python was just too slow and so not wanting to deal with JSON in C++, I want you to write
a library of C++ functions.
The functions shall accept arrays of strings which I will provide to your functions. I will ensure that
the arrays are of no less than the indicated size.
The format remains the same: number of students student id number of grades grade 0 grade 1 grade n
Be mindful. Sometimes the data gets corrupted and partially dropped. Though I can assure you the
array size is correct, the format may indicate more students or grades than the array actually holds. I am
not sure what is causing this bug, so you must alert me when corruptions of this sort are detected so that I
may respond accordingly.
Read the provided header file documentation for instructions on how the functions should work.
I have provided you a basic test app which you can use to ensure that your code is somewhat passing.
I would suggest a much more rigorous testing scheme. Your code must behave as indicated in the documentation. Passing the tests is not enough to get full credit.
Late assignments will lose 25% per day late, with no assignment begin accepted after 4 days (100% reduction in points).
Check your syllabus for the breakdown of grading.