原型:extern int strcmp(char *s1,char * s2,int n); 用法:#include <string.h> 功能:比較字符串s1和s2的前n個(gè)字符。 說明: 當(dāng)s1<s2時(shí),返回值<0 當(dāng)s1=s2時(shí),返回值=0 當(dāng)s1>s2時(shí),返回值>0 舉例: // ...
http://www.o2fo.com/cyykhsscsc/lhu1bq.html原型:extern int strnicmp(char *s1,char * s2,int n); 用法:#include <string.h> 功能:比較字符串s1和s2的前n個(gè)字符但不區(qū)分大小寫。 說明:strncmpi是到strnicmp的宏定義 當(dāng)s1<s2時(shí),返回值<0 當(dāng)s1=s2時(shí),返回值=0 ...
http://www.o2fo.com/cyykhsscsc/gkv1br.html原型:extern char *strncpy(char *dest, char *src, int n); 用法:#include <string.h> 功能:把src所指由NULL結(jié)束的字符串的前n個(gè)字節(jié)復(fù)制到dest所指的數(shù)組中。 說明: 如果src的前n個(gè)字節(jié)不含NULL字符,則結(jié)果不會(huì)以NULL字符...
http://www.o2fo.com/cyykhsscsc/lvs1bs.html原型:extern char *strpbrk(char *s1, char *s2); 用法:#include <string.h> 功能:在字符串s1中尋找字符串s2中任何一個(gè)字符相匹配的第一個(gè)字符的位置,空字符NULL不包括在內(nèi)。 說明:返回指向s1中第一個(gè)相匹配的字符的指針...
http://www.o2fo.com/cyykhsscsc/yde1bt.html原型:extern char *strrev(char *s); 用法:#include <string.h> 功能:把字符串s的所有字符的順序顛倒過來(不包括空字符NULL)。 說明:返回指向顛倒順序后的字符串指針。 舉例: // strrev.c #include <syslib.h...
http://www.o2fo.com/cyykhsscsc/tyw1bu.html原型:extern char *strstr(char *haystack, char *needle); 用法:#include <string.h> 功能:從字符串haystack中尋找needle第一次出現(xiàn)的位置(不比較結(jié)束符NULL)。 說明:返回指向第一次出現(xiàn)needle位置的指針,如果沒找到則返回NULL。...
http://www.o2fo.com/cyykhsscsc/upk1bw.html原型:extern char *strtok(char *s, char *delim); 用法:#include <string.h> 功能:分解字符串為一組標(biāo)記串。s為要分解的字符串,delim為分隔符字符串。 說明:首次調(diào)用時(shí),s必須指向要分解的字符串,隨后調(diào)用要把s設(shè)成NULL...
http://www.o2fo.com/cyykhsscsc/ehs1bx.html原型:extern int strnicmp(char *s1,char * s2,int n); 用法:#include <string.h> 功能:比較字符串s1和s2的前n個(gè)字符但不區(qū)分大小寫。 說明:strncmpi是到strnicmp的宏定義 當(dāng)s1<s2時(shí),返回值<0 當(dāng)s1=s2時(shí),返回值=0 ...
http://www.o2fo.com/cyykhsscsc/xqb1by.html原型:extern void clrscr(void); extern void ClearScreen(void); 用法:#include <system.h> 功能:清屏 說明:清除屏幕緩沖區(qū)及液晶顯示緩沖區(qū) 光標(biāo)位置回到屏幕左上角。 舉例: // clrscr.c #include <syst...
http://www.o2fo.com/cyykhsscsc/xqy1bz.html原型:extern void UpdateLCD(unsigned int mode); 用法:#include <system.h> 功能:以指定模式刷新屏幕 說明:文曲星屏幕可以按大行(行高16點(diǎn))或小行(行高8點(diǎn))顯示。 以CC300的屏幕為例,液晶分辨率為112*48即橫...
http://www.o2fo.com/cyykhsscsc/eju1c0.html抱歉,暫時(shí)沒有相關(guān)的微課
w3cschool 建議您:
抱歉,暫時(shí)沒有相關(guān)的視頻課程
w3cschool 建議您:
抱歉,暫時(shí)沒有相關(guān)的教程
w3cschool 建議您:
原型:extern int strcmp(char *s1,char * s2,int n); 用法:#include <string.h> 功能:比較字符串s1和s2的前n個(gè)字符。 說明: 當(dāng)s1<s2時(shí),返回值<0 當(dāng)s1=s2時(shí),返回值=0 當(dāng)s1>s2時(shí),返回值>0 舉例: // ...
http://www.o2fo.com/cyykhsscsc/lhu1bq.html原型:extern int strnicmp(char *s1,char * s2,int n); 用法:#include <string.h> 功能:比較字符串s1和s2的前n個(gè)字符但不區(qū)分大小寫。 說明:strncmpi是到strnicmp的宏定義 當(dāng)s1<s2時(shí),返回值<0 當(dāng)s1=s2時(shí),返回值=0 ...
http://www.o2fo.com/cyykhsscsc/gkv1br.html原型:extern char *strncpy(char *dest, char *src, int n); 用法:#include <string.h> 功能:把src所指由NULL結(jié)束的字符串的前n個(gè)字節(jié)復(fù)制到dest所指的數(shù)組中。 說明: 如果src的前n個(gè)字節(jié)不含NULL字符,則結(jié)果不會(huì)以NULL字符...
http://www.o2fo.com/cyykhsscsc/lvs1bs.html原型:extern char *strpbrk(char *s1, char *s2); 用法:#include <string.h> 功能:在字符串s1中尋找字符串s2中任何一個(gè)字符相匹配的第一個(gè)字符的位置,空字符NULL不包括在內(nèi)。 說明:返回指向s1中第一個(gè)相匹配的字符的指針...
http://www.o2fo.com/cyykhsscsc/yde1bt.html原型:extern char *strrev(char *s); 用法:#include <string.h> 功能:把字符串s的所有字符的順序顛倒過來(不包括空字符NULL)。 說明:返回指向顛倒順序后的字符串指針。 舉例: // strrev.c #include <syslib.h...
http://www.o2fo.com/cyykhsscsc/tyw1bu.html原型:extern char *strstr(char *haystack, char *needle); 用法:#include <string.h> 功能:從字符串haystack中尋找needle第一次出現(xiàn)的位置(不比較結(jié)束符NULL)。 說明:返回指向第一次出現(xiàn)needle位置的指針,如果沒找到則返回NULL。...
http://www.o2fo.com/cyykhsscsc/upk1bw.html原型:extern char *strtok(char *s, char *delim); 用法:#include <string.h> 功能:分解字符串為一組標(biāo)記串。s為要分解的字符串,delim為分隔符字符串。 說明:首次調(diào)用時(shí),s必須指向要分解的字符串,隨后調(diào)用要把s設(shè)成NULL...
http://www.o2fo.com/cyykhsscsc/ehs1bx.html原型:extern int strnicmp(char *s1,char * s2,int n); 用法:#include <string.h> 功能:比較字符串s1和s2的前n個(gè)字符但不區(qū)分大小寫。 說明:strncmpi是到strnicmp的宏定義 當(dāng)s1<s2時(shí),返回值<0 當(dāng)s1=s2時(shí),返回值=0 ...
http://www.o2fo.com/cyykhsscsc/xqb1by.html原型:extern void clrscr(void); extern void ClearScreen(void); 用法:#include <system.h> 功能:清屏 說明:清除屏幕緩沖區(qū)及液晶顯示緩沖區(qū) 光標(biāo)位置回到屏幕左上角。 舉例: // clrscr.c #include <syst...
http://www.o2fo.com/cyykhsscsc/xqy1bz.html原型:extern void UpdateLCD(unsigned int mode); 用法:#include <system.h> 功能:以指定模式刷新屏幕 說明:文曲星屏幕可以按大行(行高16點(diǎn))或小行(行高8點(diǎn))顯示。 以CC300的屏幕為例,液晶分辨率為112*48即橫...
http://www.o2fo.com/cyykhsscsc/eju1c0.html抱歉,暫時(shí)沒有相關(guān)的文章
w3cschool 建議您: