2016年7月18日

char *strrchr使用

摘要: 1 /* 这个函数用到的少 这次用到记录一下 */ 2 /* 函数原型: char *strrchr(const char *str, char c) 3 * 功能: 找到字符c在字符串str中最后出现的位置,返回在str中找到的这个位置到str字符串结束的所有字符串,如果未能找到则返回NULL 4 */ 5 6 7 #include 8 #include 9 #i... 阅读全文

posted @ 2016-07-18 16:49 新月时刻 阅读(267) 评论(0) 推荐(0) 编辑

导航