Subversion Repositories qbpwcf-lib(archive)

Rev

Rev 910 | Rev 915 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

//C++標準函式庫,讓程式可以執行系統命令
#include<cstdlib>

//C語言的標準函式庫
#include <stdio.h>

//讓程式可以使用標準 I/O
#include<iostream>

//讓程式可以使用 setprecision()
#include<iomanip>

//讓程式可以使用檔案讀寫
#include<fstream>

//讓程式可以使用系統時間
#include<time.h>

//讓程式可以使用c語言的字串
#include<string.h>

//讓程式可以使用 std::numeric_limits
#include<limits>   

//使用命名空間,避免重複輸入std::
using namespace std;
        
//主程式開始
int main(){

        //錯誤的語法
        cout<<abc<<endl;

        //回傳0,表示程式正確結束
        return 0;
        
        }//主程式結束