c语言删除结构体数组的数据库,结构体数组的删除问题
該樓層疑似違規(guī)已被系統(tǒng)折疊?隱藏此樓查看此樓
}
}
void menu()
{
int choice;
int w=0;
printf("\t\t*******************************************************\n\n");
printf("\t\t*******************************************************\n\n");
printf("\t\t*****************請(qǐng)選擇你要進(jìn)行的操作 *****************\n\n");
printf("\t\t***************** 1 輸 入 新 的 數(shù) 據(jù) *****************\n\n");
printf("\t\t***************** 2 修 改 數(shù) 據(jù)??????? *****************\n\n");
printf("\t\t***************** 3 查 找 數(shù) 據(jù)??????? *****************\n\n");
printf("\t\t***************** 4 刪 除 數(shù) 據(jù)??????? *****************\n\n");
printf("\t\t***************** 5 瀏 覽 數(shù) 據(jù)??????? *****************\n\n");
printf("\t\t***************** 6 密 碼 修 改??????? *****************\n\n");
printf("\t\t***************** 7 退??????? 出??????? *****************\n\n");
printf("\t\t*******************************************************\n\n");
printf("\t\t*******************************************************\n\n");
printf("請(qǐng)選擇序號(hào)(1-7):[ ]\b\b");
scanf("%d",&choice);
if(choice<1||choice>7)
w=0;
else w=1;
if(w==1)
{
switch(choice)
{
case 1:Enter();break;
case 2:Modify();break;
case 3:Search();break;
case 4:Delete();break;
case 5:Browse();break;
case 6:Passport_modify();break;
case 7:exit(0);
}
}
else
{printf("參數(shù)錯(cuò)誤");
return;
}
}
void main()
{
system("cls");
menu();
}
總結(jié)
以上是生活随笔為你收集整理的c语言删除结构体数组的数据库,结构体数组的删除问题的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 方程组c语言编程,最小二乘解方程组C语言
- 下一篇: c语言for循环的第三句,for循环语句