課程
/后端開發
/C++
/C++遠征之起航篇
如何在VC6 中編譯“hello C++”應用程序
2016-11-26
源自:C++遠征之起航篇 2-1
正在回答
#include <iostream>
using namespace std;
void main()
{
cout<<"hello C++"<<endl;
system("pause");
}
qq_一點點_04350645 提問者
樓上的,比較正確。
int main( )
{cout<<"hello,c++"<<endl;
return 0;
#include?<iostream> #include?<stdlib.h> using?namespace?std; int?main() { cout<<"hello?c++"<<endl; }
舉報
C++亮點盡在其中,本課程是在C語言基礎上的一個延伸,得以升華
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2016-11-26
#include <iostream>
using namespace std;
void main()
{
cout<<"hello C++"<<endl;
system("pause");
}
2016-11-28
樓上的,比較正確。
2016-11-26
#include <iostream>
using namespace std;
int main( )
{cout<<"hello,c++"<<endl;
}
return 0;
2016-11-26