Unformatted text preview: Rational r3; r2 = r3 = r1.add(r2); cout << r3; // Rational r4; //r4 = r1 + r2; // r1.operator+(r2) //cout << r4 << endl; }...
View Full Document
This note was uploaded on 04/19/2008 for the course CS 265 taught by Professor Daniele.stevenson during the Spring '08 term at Wisc Eau Claire.
- Spring '08
- Data Structures