Question: Assignment: a- Create a Point class. A Point class has two double variables: x_coord, and y_coord. (1 pts) Create default and overloaded constructors. b. a.
Assignment: a- Create a Point class. A Point class has two double variables: x_coord, and y_coord. (1 pts) Create default and overloaded constructors. b. a. (1 pt) Create all accessors and mutators of the class. b- Create a Shape class which has a Point object as a protected member variable a. (2 pts) Create default and overloaded constructors. b. (1 pt) Create all setters and mutators c. (1 pt) Create a virtual void Print () function to print the Point on the screen In main: (3 pt) Create a vector pointers to Shape objects. .Use a while loop to add 10 objects to the object Shape a. b. ( pt)Print all objects in the vector on the screen
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
