C語言中
每個不同的函式庫都有屬于自己的.h檔案,
要用某一函式庫需先匯入所屬的.h檔案,
在陳述句中通過include來實作,
#include <assert.h> 設定插入點
#include <ctype.h> 字符處理
#include <errno.h> 定義錯誤碼
#include <float.h> 浮點數處理
#include <fstream.h> 檔案輸入/輸出
#include <iomanip.h> 引數化輸入/輸出
#include <iostream.h> 資料流輸入/輸出
#include <limits.h> 定義資料型別最值常量
#include <locale.h> 定義本地化函式
#include <math.h> 定義數學函式
#include <stdio.h> 定義輸入/輸出函式
#include <stdlib.h> 定義雜項函式與記憶體分配函式
#include <string.h> 字串處理
#include <strstrea.h> 基于陣列的輸入/輸出
#include <time.h> 定義時間函式
#include <wchar.h> 寬字符處理
#include <wctype.h> 寬字符分類
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/256627.html
標籤:其他
