0

Help! Topic: inheritance, derived classes in C++. CAN someone explain the error" calling a private constructor, has_abs is priv

https://code.sololearn.com/cgjh5axJ3voz/?ref=app

1st Jun 2020, 8:34 AM
Reynolds Onyango
Reynolds Onyango - avatar
4 Respostas
+ 1
class Plane : public Vehicle { Public: Plane(const std::string &name, const
1st Jun 2020, 8:43 AM
Vijay Raj Jain
0
Mention public keyword in class plane This error occurred because all the members of class plane are private
1st Jun 2020, 8:38 AM
Vijay Raj Jain
0
Vijay Raj Jain where exactly bro...just before bool has_abs?
1st Jun 2020, 8:41 AM
Reynolds Onyango
Reynolds Onyango - avatar
0
Vijay Raj Jain you are an angel thank you
1st Jun 2020, 8:46 AM
Reynolds Onyango
Reynolds Onyango - avatar