第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號(hào)安全,請(qǐng)及時(shí)綁定郵箱和手機(jī)立即綁定

和答案一樣通過(guò)不了

/474/9251/BqNL/index.cpp: In function 'void doSomething(Movable*)':
/474/9251/BqNL/index.cpp:62:16: error: must #includebefore using typeid
? ? if(typeid(*obj)==typeid(Bus))
? ? ? ? ? ? ? ?^
/474/9251/BqNL/index.cpp:62:32: error: must #includebefore using typeid
? ? if(typeid(*obj)==typeid(Bus))
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?^
/474/9251/BqNL/index.cpp:68:16: error: must #includebefore using typeid
? ? if(typeid(*obj) == typeid(Tank))
? ? ? ? ? ? ? ?^
/474/9251/BqNL/index.cpp:68:35: error: must #includebefore using typeid
? ? if(typeid(*obj) == typeid(Tank))

正在回答

2 回答

頭文件的類容有所不同吧,VS可能自帶了對(duì)typeid的定義

0 回復(fù) 有任何疑惑可以回復(fù)我~

要加上

#include<typeinfo>

2 回復(fù) 有任何疑惑可以回復(fù)我~
#1

Foxyy

哥們,我想問(wèn)問(wèn)哈,我用VS編譯的時(shí)候沒(méi)有加#include<typeinfo>,怎么也通過(guò)了,如果不看你的回復(fù)我肯定還蒙在鼓里的
2016-06-07 回復(fù) 有任何疑惑可以回復(fù)我~

舉報(bào)

0/150
提交
取消
C++遠(yuǎn)征之多態(tài)篇
  • 參與學(xué)習(xí)       66225    人
  • 解答問(wèn)題       329    個(gè)

本教程將帶領(lǐng)大家體會(huì)面向?qū)ο笕筇匦灾械亩鄳B(tài)特性

進(jìn)入課程

和答案一樣通過(guò)不了

我要回答 關(guān)注問(wèn)題
微信客服

購(gòu)課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動(dòng)學(xué)習(xí)伙伴

公眾號(hào)

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號(hào)