|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
本帖最后由 feitianqu 于 2013-4-14 09:16 编辑
#include <stdio.h>
#include <string.h>
void main()
{
struct student
{
int num;
char name[2];
int score;
};
struct student stu;
scanf("%d,%s,%d\n",&stu.num,&stu.name,&stu.score);
printf("%d,%s,%d\n",stu.num,stu.name,stu.score);
}
Loaded 'ntdll.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\kernel32.dll', no matching symbolic information found.
The thread 0xEDC has exited with code 8 (0x8).
The program 'C:\Documents and Settings\Administrator.JCY-CF0584F7299\桌面\Debug\c.exe' has exited with code 8 (0x8).
正确答案在::http://bbs.fishc.com/thread-30272-1-1.html
|
|