This preview shows page 1. Sign up to view the full content.
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
- Spring '06
- Computer Science