回复 8楼 ly371031846
问题已解决 十分感谢!
顺便能不能帮我看看这个程序哪里错了?(vc说是switch出错了)
谢谢……
#include <stdio.h>
void main()
{
int i;
printf("\t\t--------------------------------------\n");
printf("\t
the menu of the data management\n");
printf("\t
1. input data\n");
printf("\t
2. otput data\n");
printf("\t
3. insert data\n");
printf("\t
4. delete data\n");
printf("\t
0. quit system\n");
printf("\t\t--------------------------------------\n");
printf("\t
please enter you choice:\n");
scanf("%d", &i);
}
switch(i)
{
case 1:input data;break
case 2:output data;break
case 3:insert data;break
case 4:Delete data;break
case 0:quit system;break
default:input error;
}