c 中常用的庫函式

2021-07-27 03:58:34 字數 963 閱讀 9823

很多呢。怎麼跟你說啊。把最常用給你貼出來,看看吧

標準 c++

#include //stl 通用演算法

#include //stl 位集容器

#include

#include

#include //定義本地化函式

#include //定義數學函式

#include //複數類

#include //定義輸入/輸出函式

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

#include //字串處理

#include //定義關於時間的函式

#include //stl 雙端佇列容器

#include //異常處理類

#include

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

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

#include //stl 線性列表容器

#include //stl 對映容器

#include

#include //基本輸入/輸出支援

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

#include

#include //基本輸入流

#include //基本輸出流

#include //stl 佇列容器

#include //stl 集合容器

#include //基於字串的流

#include //stl 堆疊容器

#include //標準異常類

#include //底層輸入/輸出支援

#include //字串類

#include //stl 通用模板類

#include //stl 動態陣列容器

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

#include //寬字元分類

C語言中常用的庫函式

1 記憶體設定 函式原型 void memset void point,char value,unsigned length 函式功能 將point所指向的記憶體空間的前length個位元組設定為value值。引數介紹 value 需要設定的數值 length 設定快取的位元組個數 返回值返回poi...

C語言中常用的庫函式

c語言中常用的標頭檔案如下 斷言 浮點數運算 本土化 數學函式 訊號 可變引數列表 輸入和輸出 實用功能 字串函式 時間和日期函式 輸入和輸出 標頭檔案定義了用於輸入和輸出的函式 型別和巨集。最重要的型別是用於宣告檔案指標的file。另外兩個常用的型別是 size t和fpos t,size t是由...

C 中常用庫函式總結(持續更新ing)

標頭檔案 include 作用 返回容器中最小值和最大值的位置。max element first,end,cmp 其中cmp為可選引數。用法一般為找到迭代器中的最值。例子 include include include using namespace std bool cmp int a,int ...