課程
/后端開(kāi)發(fā)
/C++
/C++遠(yuǎn)征之起航篇
#include <iostream>
using namespace std;
int main()
{
cout << "Hello C++" << endl;
return 0;
}
2018-06-15
源自:C++遠(yuǎn)征之起航篇 3-1
正在回答
我看的教科書(shū)上和老師講的不一樣,教科書(shū)都是通過(guò)using std::cout的當(dāng)時(shí),不像老師是用什么using namespce std.
Aegon_Targaryen
因?yàn)轭}目叫你輸出的是”Hello imooc“,所以說(shuō)你運(yùn)行成功輸出錯(cuò)誤
Satoshi智 提問(wèn)者
舉報(bào)
C++亮點(diǎn)盡在其中,本課程是在C語(yǔ)言基礎(chǔ)上的一個(gè)延伸,得以升華
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號(hào)-11 京公網(wǎng)安備11010802030151號(hào)
購(gòu)課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動(dòng)學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號(hào)
2018-07-09
我看的教科書(shū)上和老師講的不一樣,教科書(shū)都是通過(guò)using std::cout的當(dāng)時(shí),不像老師是用什么using namespce std.
2018-06-16
因?yàn)轭}目叫你輸出的是”Hello imooc“,所以說(shuō)你運(yùn)行成功輸出錯(cuò)誤