Question: Can you help me get started on this do I convert string to int Assignment 11- Inheritance Due Nov 4 by 11:59pm Points 40 Submitting

 Can you help me get started on this do I convertCan you help me get started on this do I convert string to int

Assignment 11- Inheritance Due Nov 4 by 11:59pm Points 40 Submitting a file upload Available Oct 14 at 12am- Dec 1 at 11:59pm about 2 months cpp. h, and hpp CSIs 123A Lab Assigament 11 -Inheritance Create a class called Number that is derived from string. You will use this as a base class to Double classes. This means that your current data sections within the Integer and Double classes will go away. Because Number is derived from string and Integer and Double are derived from Number they all become strings. This gives you a built in data section. You are going to have to make some fundamental changes to your classes to make this work because you are currently using the primitives double and int as the data section within your class. At this point your Number class will only contain the following code: A no argument constructor that sets the data section to "O" An overloaded constructor that takes a string and sets the data section to the value being passed to it.. Make sure that you call the appropriate constructor from your derived classes first. "NOTE: I have seenst dents write their own string class. This is not what is being asked. C++ has a built in string class and you should be using it. Required You must have your name, ID, Date, Assignment number, and a brief description of w op of each page. Failure to do this will result in 10 points being deducted off the top of your grade. hat the file is in comments at the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!