// 全部代码请联系 qq:3233963554获取 #include#include #include #define MAX 10000 struct toupiao { char number[20]; char name[20]; char jingli[100]; int pnumber; }; struct toupiao t[MAX]; int flag = 0;//实时记录 //函数的声明 void toup(); void tongji(); void chaxun(); void show(); void change(); void read(); void del(); void input(); void output(); void input() { printf("请依次输入候选人的编号 姓名 经历n"); int i = 0; int choice; while(1) { scanf("%s%s%s",t[i].number,t[i].name,t[i].jingli); t[i].pnumber = 0; i++; flag++; printf("是否继续输入n"); printf("1继续输入信息t2停止输入"); scanf("%d",&choice); if(choice==1) { continue; } if(choice==2) { break; } } } void output() { FILE *fp; fp = fopen("bbbc.txt","w+");//读写打开,w是只写,r是只读 int i = 0; for(i=0;i



