新生学c
vs2015吧
全部回复
仅看楼主
level 4
寒槿君🍁
楼主
输出字符串为什么#include<stdio.h>
void main()
{
char str[10];
scanf_s("%s", str, 20);
printf("%s", str);
}不行
而#include<stdio.h>
#include<stdlib.h>
void main()
{
char str[10];
scanf_s("%s", str, 20);
printf("%s", str);
system("pause");
}可以,为什么加system就可以了
2016年04月12日 06点04分
1
level 4
寒槿君🍁
楼主
急
2016年04月12日 06点04分
2
level 4
寒槿君🍁
楼主
来个人啊
2016年04月12日 06点04分
3
level 4
寒槿君🍁
楼主
有没有人啊
2016年04月12日 06点04分
4
level 4
寒槿君🍁
楼主
求大神
2016年04月12日 06点04分
5
level 4
寒槿君🍁
楼主
怎么没人
2016年04月12日 07点04分
6
level 4
寒槿君🍁
楼主
2016年04月12日 08点04分
7
level 4
寒槿君🍁
楼主
2016年04月12日 10点04分
8
level 4
寒槿君🍁
楼主
2016年04月12日 23点04分
9
1