C 競賽常用標頭檔案

2022-07-17 07:45:09 字數 1891 閱讀 9027

c、傳統 c++

#include 設定插入點

#include 字元處理

#include 定義錯誤碼

#include 浮點數處理

#include 檔案輸入/輸出

#include 引數化輸入/輸出

#include 資料流輸入/輸出

#include 定義各種資料型別最值常量

#include 定義本地化函式

#include 定義數學函式

#include 定義輸入/輸出函式

#include 定義雜項函式及記憶體分配函式

#include 字串處理

#include 基於陣列的輸入/輸出

#include 定義關於時間的函式

#include 寬字元處理及輸入/輸出

#include 寬字元分類

標準 c++ 

#include 通用演算法

#include 位集容器

#include

#include

#include

#include

#include 複數類

#include

#include

#include

#include

#include 雙端佇列容器

#include 異常處理類

#include

#include 定義運算函式(代替運算子)

#include

#include 線性列表容器

#include 對映容器

#include

#include 基本輸入/輸出支援

#include 輸入/輸出系統使用的前置宣告

#include

#include 基本輸入流

#include 基本輸出流

#include 佇列容器

#include 集合容器

#include 基於字串的流

#include 堆疊容器    

#include 標準異常類

#include 底層輸入/輸出支援

#include 字串類

#include 通用模板類

#include 動態陣列容器

#include

#include

c99 增加

#include 複數處理

#include 浮點環境

#include 整數格式轉換

#include 布林環境

#include 整型環境

#include 通用型別數學巨集

——————————————————————————————————————————

我的標頭檔案模板:

1 #include2 #include3 #include4 #include5 #include6 #include7 #include8 #include9 #include10 #include11

#define maxn 1000001

12#define f(i,j,k) for(int i=j;i<=k;i++)

13#define m(a,b) memset(a,b,sizeof(a))

14#define ff(i,j,k) for(int i=j;i>=k;i--)

15#define inf 0x7fffffff

16using

namespace

std;

17int

read()

20while(ch>='

0'&&ch<='9')

21return x*f;22}

23int

main()

24

view code

標準 C 常用標頭檔案

include 通用演算法 include 位集容器 include 字元處理 include 數學公式 include 複數類 include 標準c的輸入輸出 include 定義雜項函式及記憶體分配函式 include 字串 include 時間函式 include 雙端佇列容器 includ...

常用標頭檔案

include 是在linux 2.6.29 include linux下面尋找原始檔。include 是在linux 2.6.29 arch arm include asm下面尋找原始檔。include 是在linux 2.6.29 arch arm mach s3c2410 include ma...

常用的C庫標頭檔案

系統提供了豐富的系統檔案,稱為庫檔案,c的庫檔案分為兩類,一類是擴充套件名為 h 的檔案,稱為標頭檔案,在前面的包含命令中我們已多次使用過。在 h 檔案中包含了常量定義 型別定義 巨集定義 函式原型以及各種編譯選擇設定等資訊。另一類是函式庫,包括了各種函式的目標 供使用者在程式中呼叫。通常在程式中呼...