Unformatted text preview: Assignment_11_2.cpp (2 points) Reproduce the Vector Class (shown in lecture) using three dimensions. That is, int x, y, z; are the three coordinates. Modify all the overloaded operators to conform to the new dimension. The operators to be overloaded are +, - (binary), - (unary), Vector * double, double * Vector, << (for “cout”). Create a short program that demonstrates the use of each of these functions. In addition to these labs, also review the Word document “Session 11” that has been posted to the website. Please refer to our textbook, parts of chapter “Lesson 13” for additional information. Page 1 of 1...
View Full Document
This note was uploaded on 12/07/2010 for the course CS 175 taught by Professor Mike during the Spring '06 term at Golden West College.
- Spring '06
- Computer Science