Why does this code result in a error ?? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

Why does this code result in a error ??

https://code.sololearn.com/cS0IXKacUxjQ/?ref=app This is the code... Please tell me what's wrong...

3rd Jan 2021, 3:13 AM
Carbon dioxide
Carbon dioxide - avatar
2 Antworten
+ 4
Well. in sololearn you can't make constructors and OOP properly since it doesn't support multiple files until you mix them. also, sololearn couldn't find that header MyClass.h. Here's the correction: https://code.sololearn.com/cFro3jtGA78a/?ref=app
3rd Jan 2021, 3:24 AM
Rellot's screwdriver
Rellot's screwdriver - avatar
+ 2
I'm forget what is right... Thank you for the answer Coding Kitty...
3rd Jan 2021, 3:30 AM
Carbon dioxide
Carbon dioxide - avatar