專注差異化嵌入式產(chǎn)品解決方案 給智能產(chǎn)品定制注入靈魂給予生命
提供開發(fā)工具、應(yīng)用測試 完善的開發(fā)代碼案例庫分享
從全面的產(chǎn)品導(dǎo)入到強大技術(shù)支援服務(wù) 全程貼心伴隨服務(wù),創(chuàng)造無限潛能!
提供新的芯片及解決方案,提升客戶產(chǎn)品競爭力
提供最新的單片機資訊,行業(yè)消息以及公司新聞動態(tài)
附錄B:標準庫
介紹標準庫的組成,及使用注意。
B.1 輸入與輸出:
主要介紹流的概念等。
B.1.1 文件操作
主要介紹 fopen(), freopen(), fflush(), fclose(), remove(), rename(), tmpfile(), tmpnam(), setvbuf(),setbuf()等。
B.1.2 格式化輸出
主要介紹 printf(), fprintf(), sprintf(), vprintf(), vfprintf(), vsprintf()等。
B.1.3 格式化輸入
主要介紹 fscanf(), scanf(), sscanf()等。
B.1.4 字符輸入/輸出函數(shù)
主要介紹 fgetc(), fgets(), fputc(), fputs(), getc(), gets(), putc(),puts(), putchar(), ungetc()等。
B.1.5 直接輸入輸出
主要介紹 fread()和fwrite()。
B.1.6 文件定位函數(shù)
主要介紹 fseek(), ftell(), rewind(), fgetpos(), fsetpos()等。
B.1.7 錯誤處理函數(shù)
主要介紹 clearerr(), feof(), ferror(), perror()等。
B.2 字符類別測試:
主要介紹 isalnum(c), isalpha(c), iscntrl(c), isdigit(c), … , tolower(c), toupper(c)等。
B.3 字符串函數(shù):
主要介紹 strcpy(),strncpy(),
strcat(), strncat(), strcmp(), strncmp(), strchar(), strrchr(),
strspn(), strcspn(), strpbrk(), strstr(), strlen(), strerror(), strtok()等。
B.4 數(shù)學(xué)函數(shù):
主要介紹 sin(),
cos(), tan(), asin(), acos(), atan(), atan2(), sinh(), cosh(), tanh(),
exp() log(), log10(), pow(), sqrt(), ceil(), floor(), fabs(), ldexp(),
frexp(), modf(), fmod()等。
B.5 實用函數(shù):
主要介紹 atof(),
atoi(), atol(), strtod(), strtoul(), rand(), srand(), calloc(),
malloc(), realloc(), free(), abort(), exit(), atexit(), system(),
getenv(), bsearch(), qsort(), abs(), labs(), div(), ldiv()等。
B.6 診斷:
主要介紹 assert()。
B.7 可變參數(shù)表:
主要介紹 va_list, va_start, va_end。
B.8 非局部跳轉(zhuǎn):
主要介紹 setjmp(), longjmp()等。
B.9 信號:
主要介紹 signal(), raise()等。
B.10 日期與時間函數(shù):
主要介紹 clock(), time(), difftime(), mktime(), asctime(), ctime(), strftime()等。
B.11 與具體實現(xiàn)相關(guān)的限制:和
主要介紹整型大小的常量,浮點運算的一些常量。