This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Programming Assignment #4 Submit file is due Tuesday, November 7, at 10am. Only the cover sheet is to be turned in for the hardcopy. This assignment gives you some more experience working with designing classes, namespaces, operator overloading, etc. The goal of the project is to implement a class SparseVector, which is exactly the linked list from assignment 2 rewritten in C++. You should be able to reuse a lot of the code, just make sure to use delete and new instead of free and malloc. There is a couple of new features - vector by integer and integer by vector multiplication, stream insertion that need to be implemented. Most (if not all) of the information required to implement this assignment can be gleaned from the driver that is provided. This technique of development is called Test Driven Development. The idea behind TDD is that you are given test cases and need to implement code that will cause the tests to succeed. Your job is considered complete when all of the tests have succeeded. You have been given a framework, a driver, and the expected output so your task is not as hard as it mightsucceeded....
View Full Document
This lab report was uploaded on 04/18/2008 for the course CS 225 taught by Professor Volper during the Fall '06 term at DigiPen Institute of Technology.
- Fall '06