摘要: 1 #include 2 #include 3 4 int main(){ 5 setvbuf(stdout,NULL,_IONBF,0); 6 char s1[255],s2[255]; 7 int strcmp(char *,char *); 8 int result; 9 10 printf("1st string:");11 gets(s1);12 printf("2nd string:");13 gets(s2);14 result=strcmp(s1,s2);15 printf("The compa... 阅读全文
posted @ 2013-10-16 11:21 Andy Cheung 阅读(3839) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#includeint main(){ setvbuf(stdout,NULL,_IONBF,0); char s[255]; int a[255]; //存放得到的整数 int i,length; ... 阅读全文
posted @ 2013-10-16 09:41 Andy Cheung 阅读(7238) 评论(0) 推荐(0) 编辑