超凡弹弓:VC++ 里的又一个错误 怎么解决

来源:百度文库 编辑:高考问答 时间:2024/05/14 02:15:44
vc里的 指示的这行是 flt[n++]=pFlight;
error : binary '=' : no operator defined which takes a right-hand operand of type 'class Flight *' (or there is no acceptable conversion)

这可能是你的编译器的问题

class Flight 没有定义 = 操作,从字面上是这样理解的