摘要: #include #include #include /**判断str1是否以str2开头 * 如果是返回1 * 不是返回0 * 出错返回-1 * */ int is_begin_with(const char * str1,char *str2) { if(str1 == NULL || str2 == NULL) return -1; int ... 阅读全文
posted @ 2017-05-12 14:29 青儿哥哥 阅读(7831) 评论(0) 推荐(0) 编辑