返回列表 發帖
本帖最後由 游東祥 於 2013-1-22 22:19 編輯
  1. #include<iostream>
  2. #include<cstdlib>
  3. using namespace std;
  4. intmain()
  5. {
  6.          count<<"hello<<endl;
  7.          system("pause");
  8.          return0;
  9. }
複製代碼
老師提醒:注意噢!幾個小細節沒有注意到噢!
1. 第五行的int與main要有一個空白分開噢!
2. 第七行的輸出應該是 cout 不是 count 喔!
3. 第七行的 hello 文字應該要被兩個雙引號包覆,少了結尾的雙引號喔!
4. 第九行的 return 與 0 要用空白分開噢!

TOP

返回列表