0
what's wrong with this code?..t
The constructor and destructor are fine.. but I don't understand how I'm supp9sed to implement the the method https://code.sololearn.com/cw1rV5f7woGN/?ref=app
2 Answers
+ 2
You forgot the return type for the function hello(). The implementation (line 22) must match the declared signature (line 9)
void MyClass :: hello(string name) // specify return type -> void
+ 1
Ipang thanks