c++课程设计总结报告 通讯录管理系统

if (flag) {

cout <<\对不起!!!联系人中没你找的人!!!!\ }

getch(); }

void book::save_new() {

ofstream outData(\ if (!outData) {

cout <<\对不起!!!打开文件失败!!!!\ system(\ return; }

outData << setiosflags(ios::left) << setw(17) << name<<\number <<\

<< setw(15) << qq <<\<

outData.close(); }

int main() {

int choose; book abj;

while (choose = abj.inter_face()) {

switch (choose) {

case 1:

abj.add_person(); break; case 2:

abj.del_person(); break;

case 3:

abj.show_all(); break; case 4:

abj.alter(); break; case 5:

abj.select(); break; case 6:

cout <<\谢谢使用!!!!!\ exit(0); break; default:

break; } }

return 0; }

联系客服:779662525#qq.com(#替换为@) 苏ICP备20003344号-4