Re-do the VarVec and the Queue classes as templated classes - start the assignment with the VarVec and/or Queue classes that had the [ ] operator assignment.
Test Cases - use existing test cases with doubles THEN once those are working then test maybe with point class such that varVec and/or queue can hold point objects.
Make sure VarVec template is in 1 .h file not in the .cpp file
No comments:
Post a Comment