QQ群:703568346
扫码预约课程
#include <stdio.h> #include <stdlib.h> int main() { char stt[1000]=""; printf("请您输入一个字符串"); scanf("s%",stt); printf("您输入的是:%s",stt); system("pause"); return 0; }
我来回答
举报
超神级 发表于 2014-8-23 20:14 难道打不出来&取值符号。。 scanf("s%",&stt);
javaC 发表于 2014-8-24 22:47 输入整个字符串不是不用&吗? int code[50]; scanf("%c",&code[1]);
本版积分规则 发表回复 回帖并转播 回帖后跳转到最后一页