2018年9月3日

C语言 - strcmp和strncmp的编程实现及总结

摘要: 一、strcmp和strncmp的编程实现及总结 1、strcmp函数的实现 要求: 原型: int strcmp(char *dest,char * src,int n); 头文件:#include <string.h> 功能:比较字符串s1和s2。 说明: 返回值:当s1<s2时,返回值<0 返 阅读全文

posted @ 2018-09-03 19:20 kukou 阅读(6227) 评论(0) 推荐(0) 编辑

导航