摘要: #include char s1[10],s2[10]; ... if(strcmp(s1,s2)==0) printf("两字符串相等\n"); string.h 头文件中就有比较函数,可以用来比较是否相等2:这个是普通方法 不调用函数strcmp();#include <stdio.h&g... 阅读全文
posted @ 2014-11-05 18:02 杨斌_济南 阅读(2862) 评论(0) 推荐(0) 编辑