2015年3月28日

字符串小结2

摘要: 字符串小结21.限制字符的字符串函数strncmp()函数:将两个函数的前n个字符进行比较int my_strncmp(char const *pcStr1, char const *pcStr2,unsigned int uiLen){while(*pcSt... 阅读全文

posted @ 2015-03-28 22:43 zmrlinux 阅读(156) 评论(0) 推荐(0)

字符串小结1

摘要: 字符串字符串声明:1.数组形式: char ar[100]="Hello World";2.指针形式: char *pch="Hello World";字符串的输入:1.gets()函数从键盘接受一行标准输入,不检查字符串... 阅读全文

posted @ 2015-03-28 21:44 zmrlinux 阅读(178) 评论(0) 推荐(0)

导航