摘要: 1.strstr() 函数搜索一个字符串在另一个字符串中的第一次出现。找到所搜索的字符串,则该函数返回第一次匹配的字符串的地址;如果未找到所搜索的字符串,则返回NULL。2.strcat() 函数用来连接字符串,其原型为: char *strcat(char *dest, const char ... 阅读全文
posted @ 2014-09-18 11:54 qiynet 阅读(256) 评论(0) 推荐(0)
摘要: (一)结构体类型 1.简介: 例: struct date { int month; int day; int year; }; struct student { int num; char name[20]; char sex; int age; struct date birthday; /*b 阅读全文
posted @ 2014-09-18 11:04 qiynet 阅读(633) 评论(0) 推荐(0)
跳至侧栏