No Matching Function Call to Base class

前端 未结 4 1890
庸人自扰
庸人自扰 2020-12-06 14:41

Here I am trying to make a subclass of the base class, Airplane. In my main code I haven\'t tried to use either constructor yet as I am just trying to make sure I can make t

4条回答
  •  伪装坚强ぢ
    2020-12-06 15:00

    Make sure that if you are calling a base class with a constructor, the name of the constructor is the the same as that of the base class

提交回复
热议问题