project4 - Programming Assignment #4 Submit file is due...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the 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

Page1 / 2

project4 - Programming Assignment #4 Submit file is due...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online