void main() { inti(); list i; int a; while(1) { cout<<"选择操作 1-10:"< cin>>a; cin_judge(cin,a); switch(a) { case 1: i.add();break; case 2: i.remove();break; case 3: i.paixu();break; case 4: i.find();break; case 5: i.change();break; case 6: i.show();break; case 7: system("cls");inti();break; case 8: i.save();break; case 9: i.read();break; case 10: i.fileprint();break; case 11: filelist();break; } } }