+ 1

Calculate With Inheritance

I saved all my pages of code to code playground under Calculate with Inheritance. I can't seem to get it to compile. I am trying to have circle and square be derived classes of Shape. and the constructor circle():Shape(){ is flagging an error. Can someone help me out and tell me what I did wrong? https://code.sololearn.com/c7eE3d5zKhVH

11th Dec 2017, 11:17 PM
Elyse Segebart
Elyse Segebart - avatar
5 Réponses
+ 1
I've made it compile. Had to comment out headers files. Other changes should be needed where you are compiling. https://code.sololearn.com/cf24SL8sjAOk/?ref=app
12th Dec 2017, 12:27 AM
John Wells
John Wells - avatar
+ 5
Link the code with the question so people can help you. Just in case you don't know how, follow these instructions: Open your code in Code Playground Tap on the share button above Select an option that suggests to copy to clipboard Go back to this question Select Edit from the menu to the right At the bottom of question description insert an empty line Long press and select Paste
11th Dec 2017, 11:19 AM
Ipang
+ 1
@John Wells Thank you!!! I appreciate it very much.
13th Dec 2017, 10:27 PM
Elyse Segebart
Elyse Segebart - avatar
0
Thank you ! I linked the code into the question.
11th Dec 2017, 11:17 PM
Elyse Segebart
Elyse Segebart - avatar
0
go to a very famous freelancer website, book me and ill do it for you...
11th Dec 2017, 11:20 PM
---
--- - avatar