c語言函數(shù)庫詳解(收藏版)_第1頁
已閱讀1頁,還剩118頁未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡介

1、c語言函數(shù)庫目錄目錄第一章(C標(biāo)準(zhǔn)庫).............................................................................................41.:診斷................................................................................................42.:字符

2、類別測試.................................................................................53.:錯誤處理.........................................................................................54.:整型常量..............................

3、..........................................................65.:地域環(huán)境........................................................................................66.:數(shù)學(xué)函數(shù)..........................................................

4、...............................77.:非局部跳轉(zhuǎn)...................................................................................88.:信號...........................................................................................

5、.....99.:可變參數(shù)表.................................................................................1110.:公共定義...................................................................................1111.:輸入輸出......................

6、...............................................................1212.:實(shí)用函數(shù)....................................................................................1313.:日期與時間函數(shù)..................................................

7、........................13第二章(IO函數(shù)).....................................................................................................14clearerr:復(fù)位錯誤標(biāo)志函數(shù).................................................................

8、.....................15feof:檢測文件結(jié)束符函數(shù).......................................................................................16ferr:檢測流上的錯誤函數(shù)................................................................................

9、.....17fflush:清除文件緩沖區(qū)函數(shù)....................................................................................18fgetc:從流中讀取字符函數(shù)......................................................................................19fgetpos:

10、取得當(dāng)前文件的句柄函數(shù)..........................................................................20fgets:從流中讀取字符串函數(shù)..................................................................................21fopen、fclose:文件的打開與關(guān)閉函數(shù)..........

11、.........................................................22fprintf:格式化輸出函數(shù)............................................................................................23fputc:向流中輸出字符函數(shù).....................................

12、.................................................25fputs:向流中輸出字符串函數(shù)..................................................................................25fread:從流中讀取字符串函數(shù).....................................................

13、.............................26freopen:替換文件中數(shù)據(jù)流函數(shù)..............................................................................27fscanf:格式化輸入函數(shù).............................................................................

14、...............28fseek:文件指針定位函數(shù).........................................................................................29fsetpos:定位流上的文件指針函數(shù)..........................................................................30fte

15、ll:返回當(dāng)前文件指針位置函數(shù)...........................................................................31fwrite:向文件寫入數(shù)據(jù)函數(shù)....................................................................................31getc:從流中讀取字符函數(shù)............

16、...........................................................................32get:從標(biāo)準(zhǔn)輸入文件中讀取字符函數(shù)..............................................................33gets:從標(biāo)準(zhǔn)輸入文件中讀取字符串函數(shù).........................................

17、......................34perr:打印系統(tǒng)錯誤信息函數(shù)................................................................................35printf:產(chǎn)生格式化輸出的函數(shù).................................................................................3

18、5putc:向指定流中輸出字符函數(shù)...............................................................................36put:向標(biāo)準(zhǔn)輸出文件上輸出字符......................................................................37strlwr:字符串小寫轉(zhuǎn)換函數(shù)..................

19、..................................................................72strncat:字符串連接函數(shù)...........................................................................................73strncmp:字符串子串比較函數(shù)...........................

20、......................................................74strncpy:字符串子串拷貝函數(shù)..................................................................................75strpbrk:字符集字符匹配函數(shù)..............................................

21、....................................76strrchr:字符串中字符末次匹配函數(shù).......................................................................77strrev:字符串倒轉(zhuǎn)函數(shù)...........................................................................

22、..................78strset:字符串設(shè)定函數(shù).............................................................................................79strspn:字符集匹配函數(shù).............................................................................

23、...............79strstr:字符串匹配函數(shù)..............................................................................................80strtod:字符串轉(zhuǎn)換成雙精度函數(shù)...........................................................................

24、..81strtok:字符串分隔函數(shù).............................................................................................82strtol:字符串轉(zhuǎn)換成長整型函數(shù)..............................................................................83strtoul:字

25、符串轉(zhuǎn)換成無符號長整型函數(shù)................................................................85strupr:字符串大寫轉(zhuǎn)換函數(shù)....................................................................................86strupr:字符串大寫轉(zhuǎn)換函數(shù).......................

26、.............................................................86第五章(數(shù)學(xué)函數(shù))...........................................................................................87abs、labs、fabs:求絕對值函數(shù)...................................

27、............................................88acos:反余弦函數(shù).....................................................................................................89asin:反正弦函數(shù)...................................................

28、..................................................89atan:反正切函數(shù).......................................................................................................90atan2:反正切函數(shù)2.........................................

29、.........................................................90ceil:向上舍入函數(shù)....................................................................................................91cos:余弦函數(shù)........................................

30、..................................................................91cosh:雙曲余弦函數(shù)................................................................................................92div、ldiv:除法函數(shù)..............................

31、....................................................................92exp:求e的x次冪函數(shù)............................................................................................93flo:向下舍入函數(shù)..................................

32、................................................................94fmod:求模函數(shù).........................................................................................................95frexp:分解浮點(diǎn)數(shù)函數(shù).........................

33、....................................................................95hypot:求直角三角形斜邊長函數(shù).............................................................................96ldexp:裝載浮點(diǎn)數(shù)函數(shù).........................................

34、....................................................96log、log10:對數(shù)函數(shù)................................................................................................97modf:分解雙精度數(shù)函數(shù).........................................

35、................................................98pow、pow10:指數(shù)函數(shù)............................................................................................98r:產(chǎn)生隨機(jī)整數(shù)函數(shù)....................................................

36、.......................................99sin:正弦函數(shù).............................................................................................................99sinh:雙曲正弦函數(shù).................................................

37、..............................................100sqrt:開平方函數(shù)......................................................................................................100sr:設(shè)置隨機(jī)時間的種子函數(shù)..........................................

38、.................................101tan:正切函數(shù).........................................................................................................102tanh:雙曲正切函數(shù).........................................................

39、........................................102第六章(時間和日期函數(shù)).............................................................................103time:日期和時間轉(zhuǎn)換函數(shù).......................................................................

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 眾賞文庫僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

評論

0/150

提交評論