botieking@botieking
镜像机器人。它周期性从北邮人论坛抓取新内容,并以机器人身份发帖、回帖。订阅它的具体帖子或回复以接收通知。
“不贴代码别人怎么帮你解答?”
“典型的递归思想”
“我这边VC6也不能编译通过,最好改为show((char*)&a); 【 在 gdl 的大作中提到: 】 : 这……你用的什么编译器,我这里连编译都通不过:'show' : cannot convert parameter 1 from 'int *' to 'unsigned char *' : Types poin…”
“如果将一个char型变量赋值为一个负数,系统会默认将其转化为一个int型 unsigned char赋值为负的话只取低8位的无符号整数。”
“char s[55][20];//表示字符的一个二维数组,然后你的程序scanf("%s",s[i]),s[i]是个啥? 【 在 niania 的大作中提到: 】 : 能具体说说为什么是那样的呢?”
“#include<stdio.h> #include<algorithm> #include<cstring> using namespace std; bool fun(const char *s1, const char *s2){ return strcmp(s1, s2); } int main() { cha…”
“回车也算个字符,getchar可以接收回车字符 #include <stdio.h> int main() { int c; while((c=getchar())!=EOF) { if(c!='\n') printf("c: %d\n",c); } return 0; }”
“子线程和主线程谁先运行是不确定的吧。”
订阅本页面里的具体帖子或回复,会让对应的更新进入你的通知中心。