Clean and rebuild.
Type: Posts; User: whiteflags
Clean and rebuild.
Please remember that length and width are the only members of rectangle that you have. So you will have to call calcPerimeter and calcArea internally, in the PrintData function to get those values.
...
When you use a member function of a class, you need, with one exception, an object to perform operations on. In other words, the object you call it with will provide the data members your member...