返回列表 發帖

我的第一支程式

本帖最後由 tonyh 於 2017-7-4 11:34 編輯



本帖隱藏的內容需要回復才可以瀏覽

  1. #include<iostream>  // input & output stream
  2. #include<cstdlib>   // c standard library
  3. using namespace std; //指定命名空間為 std
  4. int main()
  5. {
  6.      cout<<"大家好!"<<endl;
  7.      system("pause");  //暫停
  8.      return 0;  //回傳 0 到主控台  
  9. }
複製代碼

TOP

  1. #include<iostream>  // input & output stream
  2. #include<cstdlib>   // c standard library
  3. using namespace std; //指定命名空間為 std
  4. int main()
  5. {
  6.      cout<<"大家好!"<<endl;
  7.      system("pause");  //暫停
  8.      return 0;  //回傳 0 到主控台  
  9. }
複製代碼

TOP

返回列表