热门

最新

红包

立Flag

投票

同城

我的

发布
wxgaws
xxaxtt
4 年前
truewxgaws

csdn搜东西时,应该优先返回收藏夹或点赞过的内容,然后是全站内容。因为用户来这里是为了查资料,会经常搜很多搜过的内容。

CSDN App 扫码分享
分享
1
点赞
打赏
  • 复制链接
  • 举报
下一条:
有没有大佬帮帮忙,刚开始学c语言这是哪出问题了#include<stdio.h>#include<stdlib.h>#include<string.h>int main(){ const char name[][19] = { "xiaol","xiaok","xiaoj","xiaoh","xiaohz" }; char xiaohz[] = "xiaohz"; int i, j; const int len = strlen("xiaohz"); for (i = 0; i < 4; i++) { for (j = 0; j < 19; j++) if (name[i][j] != len)break; } if (name[i][j] ==len) { printf("第%s就是xiaohz",name[i]); } system("pause"); return 0; }
立即登录