问:C语言的一个基础程序--那出错了?
程序代码:#include<stdio.h>
#include<conio.h>
main()
{
char a[50];
puts("请输入一个字符串");
a=getch();
puts(a);
system("pause");
}getch()不能和puts()在一起使用吗?
程序代码:#include<stdio.h>
#include<conio.h>
main()
{
char a[50];
puts("请输入一个字符串");
a=getch();
puts(a);
system("pause");
}getch()不能和puts()在一起使用吗?
2013-01-17 12:52
2013-01-17 12:54
2013-01-17 13:02

2013-01-17 13:07
2013-01-17 14:50
2013-01-17 17:05