简单程序 找错误
#include <stdio.h>main()
{
int sel=1;
while(sel!=3)
{
printf("\n 玩玩系统\n");
printf("\n===========================\n");
printf("\n 1、添加新用户\n");
printf("\n 2、修改用户信息\n");
printf("\n 3、退出\n");
printf("\n===========================\n");
printf("\n 请选择(1-3):");
scanf("%d",sel);
if(1<=sel<=3)
switch(sel)
{
case1:printf("重");break;
case2:printf("入");break;
default:break;
}
else
printf("请重新输入(1-3)\n");
continue;
}
vc6.0++
C:\Documents and Settings\Administrator\桌面\新建文件夹 (2)\新建 文本文档.c(34) : fatal error C1004: unexpected end of file found
Error executing cl.e