返回列表 發帖
  1. #include(iostream)     //引入標頭檔
  2. #include(cstdlib)     // 引入標頭檔
  3. using namespace std; //指定命名空間
  4. int main()          //主函式
  5. {
  6.    cout<<"hello"<<endl;
  7.    system("pause");//畫面暫停  
  8.    return 0;      //回傳0至主控台,告知程式已成功執行並結束
  9. }   
  10.   
複製代碼

TOP

返回列表