Zebra0.com

cpp classesExpanding on the rectangle class

Expanding on the rectangle class

We have expanded the rectangle class to include a toString method so that we can use cout to print a rectangle as 3X4 for instance. We still have all of the code in one file. It is important to understand this example before proceeding.