Question: 1. Member Functions Replace the eight supporting output functions with member functions in the eight struct s. Name the functions as you like, but name
1. Member Functions
Replace the eight supporting output functions with member functions in the eight struct s. Name the functions as you like, but name them all the same. Their prototypes inside the struct s should all look exactly alike, all with exactly one parameter -- an ostream reference. Modify the function called from the console and file output loops in int main accordingly.
2. Stream Manipulators
Replace the formatting code blocks in each output function with the manipulators provided in the module.
3. Conditional Operators
If you have not already done so, apply the conditional operator so that there are no more if-else statements to convert tokens to dimensions. Shapes.3.cpp
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
