返回列表 發帖
  1. #include<iostream>  //input & output stream 輸出輸入的資訊流
  2. #include<cstdlib>   //c standard liburary  c標準資料函式庫
  3. using namespace std;  //命名空間

  4. int main() //主函式   int=整數
  5. {
  6.     cout<<"我是王小明"<<endl;
  7.     system("pause");  //讓畫面暫停(停留)
  8.     return 0;    //回傳0告訴電腦本程式已成功結束  return=回傳
  9. }
複製代碼

TOP

#include<iostream>  //input & output stream 輸出輸入的資訊流
#include<cstdlib>   //c standard liburary  c標準資料函式庫
using namespace std;  //命名空間

int main() //主函式   int=整數
{
    cout<<"我是王小明"<<endl;
    system("pause");  //讓畫面暫停(停留)
    return 0;    //回傳0告訴電腦本程式已成功結束  return=回傳
}

TOP

返回列表