通讯录管理系统毕业论文(求一份《通讯录管理系统》的毕业论文)

1.求一份《通讯录管理系统》的毕业论文

通讯录管理系统内容:程序代码,毕业论文(10132字),开题报告,外文翻译,答辩PPT 摘要:本通讯录信息管理系统用计算机管理电子通讯录的一种计算机应用技术的创新,在计算机还未普及之前通讯管理都是由联系人采用名片,笔录手工记帐的方式来操作的.现在一般的通讯录管理都是采用计算机作为工具的实用的计算机通讯录管理程序来帮助人们进行更有效的通讯录信息管理。

通讯录管理系统是典型的信息管理系统(MIS),其开发主要包括后台数据库的建立和维护以及前端应用程序的开发两个方面。对于前者要求建立起数据一致性和完整性强、数据安全性好的库。

而对于后者则要求应用程序功能完备,易使用等特点。 经过分析,我们使用 MICROSOFT公司的 VISUAL BASIC开发工具,利用其提供的各种面向对象的开发工具,尤其是数据窗口这一能方便而简洁操纵数据库的智能化对象,首先在短时间内建立系统应用原型,然后,对初始原型系统进行需求迭代,不断修正和改进,直到形成用户满意的可行系统。

关键字: 通讯录信息管理,管理信息系统,visual basic ,access Abstract:The directory information management systems using electronic directory of a computer management computer application technology innovation in the computer communications management are not popular before the introduction of business contacts, The accounting approach to the operation manual transcription. general directory management are now using the computer as a tool for computer directory management procedures to help people more effectively directory information management. Directory management system is a typical management information system (MIS), including its main development background to the establishment and maintenance of the database and front-end application development 2. The request for the establishment of strong data consistency and integrity, good for the security of the data. For the latter request applications functions, such as easy to use features. After analysis, we use Microsoft visual basic development tool companies, the use of its various object-oriented development tools, especially data that can be easily accessible and concise window manipulation database intelligent objects, the first prototype application system in a short time and then, computation of the initial prototype system needs to constantly revise and improve until the formation of a viable system of user satisfaction. keyword : directory information management, management information systems, visual basic, access 目 录 第一章 引言 1.1 课题背景 1.2 系统简介 1. 3 开发工具介绍 第二章 系统的分析 2.1 系统开发的目标和思想 2.2 系统的可行性分析 第三章 系统的设计 3.1 系统的功能结构设计 3.2 系统的数据库设计 3.3 界面设计与代码设计 结束语 致谢 参考文献 1.陈明 . 软件工程学教程 .科技出版社,2002 2.萨师煊,王珊 . 数据库系统概论 . 第三版 . 高等教育出版社,2000 3.飞思科技产品研发中心 . visual basic 6.0数据库应用开发 .电子工业出版社,2003 4.飞思科技产品研发中心 . visual basic 6.0开发者手册 . 电子工业出版社, 2002 5.申旻 . visual basic 6.0高手突破 . 清华大学出版社,2002,302 6.Steve Teixeira,Xaviver Pacheco著,龙劲松,王瑜,谢尚书译 . visual basic 6.0开发人员指南 . 机械工业出版社 .2003来自 希望可以帮得到你。

2.我现在急需一份VB 通讯录的毕业论文,希望大家可以给我提供帮助,

vb+access通讯录管理系统(论文+程序) 摘要 通讯录管理系统是一个非常通用的管理系统。

很多地方都需要拥有自己的通讯录管理系统,以便对自己的同学、同事、朋友等信息资料的管理及使用。 本毕业设计以通用的通讯录管理系统为实例,运用Visual Basic和Microsoft Access进行程序设计,讲述如何开发通讯录管理系统。

此设计具有很强的实用性,使用者只要根据具体情况稍加修改,就可以把它应用到实际需求中。 本设计主要包括系统用户管理模块、用户基本资料模块。

我们根据这些功能,设计出系统的功能模块,每一个功能模块都需要针对不同的表完成相同的数据库操作,分别是查询(查看、预览)模块,具体实现了用户和人员信息的查看和预览; 更新(添加、修改、删除)模块,具体实现了用户和(新)人员信息的登记,修改,和删除; 生成预览报表,具体实现了人员信息的总的查看和浏览。设计利用visual basic 6.0、Microsoft Acess 数据库技术的基本特点,提高了编程效率和可靠性。

关键词:通讯录管理系统、数据库、Access、Visual Basic Abstract Address Book Management System is a very in general useful management system.A lot of places needs to own own address book management system, in order to managing and using of own classmate, colleague, friend。etc. Information Data. This graduate design with the in general use address book manages the system for solid example, application the Visual Basic proceeds with Microsoft Access the procedure designs, relating how to develop address book management system.This design has the very strong function, user as long as modify slightly more according to concrete circumstance, can apply to the actual need to it inside. This design includes primarily system customer management mold a basic data mold piece.We according to these functions, design the function mold piece of the system, each a function mold piece needs to aim at the different form completes the same database operates, respectively is search( look into, preview) mold piece, realizes in a specific way the customer looks into with preview with personnel's information; Renew( increase, modify, delete) the mold a register for, in a specific way realizes customer with( new) personnel's information, modify, with delete; It is born to preview the statement, realizing in。

3.通讯录管理系统的设计与实现 (求高手帮忙

基本原理和这个通讯录数据处理程序相似,提问者稍加修改就可以使用。

clear set safe off use txl text ※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※ ※ 1.输入 2.修改 3.插入 4.删除 ※ ※ 5.按姓名升序显示 6.按邮政编码升序显示 ※ ※ 7.按姓名查询 8.退出 ※ ※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※ endtext input "请按数字键选择" to aa do case case aa=1 go bott accept "请输入姓名:" to xm accept "请输入性别:" to xb accept "请输入电话号码:" to dhhm accept "请输入家庭住址:" to jtzz accept "请输入工作单位:" to gzdw accept "请输入邮政编码:" to yzbm repl 姓名 with xm,性别 with xb, 电话号码 with dhhm,家庭住址 with jtzz,工作单位 with gzdw,邮政编码 with yzbm case aa=2 input"请输入您要修改的记录的编号:" to c go c ? "请修改第"+str(c,1)+"个人的数据!" disp accept "请输入姓名:" to xm accept "请输入性别:" to xb accept "请输入电话号码:" to dhhm accept "请输入家庭住址:" to jtzz accept "请输入工作单位:" to gzdw accept "请输入邮政编码:" to yzbm repl 姓名 with xm,性别 with xb, 电话号码 with dhhm,家庭住址 with jtzz,工作单位 with gzdw,邮政编码 with yzbm case aa=3 append blank accept "请输入姓名:" to xm accept "请输入性别:" to xb accept "请输入电话号码:" to dhhm accept "请输入家庭住址:" to jtzz accept "请输入工作单位:" to gzdw accept "请输入邮政编码:" to yzbm repl 姓名 with xm,性别 with xb, 电话号码 with dhhm,家庭住址 with jtzz,工作单位 with gzdw,邮政编码 with yzbm case aa=4 input "请输入您想要删除的记录号" to d go d delete accept "确认删除请按小写字母y,否则取消删除)" to e if e="y" pack else recall endif case aa=5 index on 姓名 to xm list case aa=6 index on 邮政编码 to yzbm list case aa=7 accept "请输入您要查询的姓名" to f list for 姓名=f case aa=8 wait "系统即将关闭" window timeout 3 exit othe messagebox("请重新选择",0+64,"出错了") endc set safe on *这个程序能完成任务,不过界面不好。可以这样修改: *新建一个表单(主表单,表单1),增加8个按钮,每个按钮的名称caption同上面程序中的菜单;再增加一个按钮,caption为“退出”,保存表单1。

*新建一个数据处理表单(表单2),向表单添加标签,caption为“姓名”,再增加一个文本控件text1,用来处理“姓名”数据;继续向表单添加标签,caption为“性别”,增加一个文本控件text2,用来处理“性别”数据;。

向表单添加标签,caption为“邮政编码”,再增加一个文本控件text6,用来处理“邮政编码”数据。

把标签和文本控件适当整理齐整。增加一个按钮,caption 为“保存”,再增加一个按钮,caption为“退出”, 双击表单空白处,出现load事件,输入 thisform.text1.value=xm thisform.text2.value=xb thisform.text3.value=dhhm thisform.text4.value=jtzz thisform.text5.value=gzdw thisform.text6.value=yzbm 输入完毕,关闭load事件,这是给表单2的几个控件赋初值。

双击“退出”按钮,输入 thisform.release 关闭事件,双击“保存”按钮,输入 repl 姓名 with thisform.text1.value,; 性别 with thisform.text2.value,; 电话号码 with thisform.text2.value,; 家庭住址 with thisform.text2.value,; 工作单位 with thisform.text2.value,; 邮政编码 with thisform.text2.value 保存表单2。 打开表单1,双击表单的空白处,出现load事件,输入: set safe off use txl public xm,xb,dhhm,jtzz,gzdw,yzbm 双击“输入”按钮,输入 go bott *下面给表单2赋初值 xm=姓名 xb=性别 dhhm=电话号码 jtzz=家庭住址 gzdw=工作单位 yzdm=邮政编码 do form 表单2 双击“修改”按钮,输入 input"请输入您要修改的记录的编号:" to c go c *下面给表单2赋初值 xm=姓名 xb=性别 dhhm=电话号码 jtzz=家庭住址 gzdw=工作单位 yzdm=邮政编码 do form 表单2 双击“插入”按钮,输入 appe blank *下面给表单2赋初值 xm=姓名 xb=性别 dhhm=电话号码 jtzz=家庭住址 gzdw=工作单位 yzdm=邮政编码 do form 表单2 双击“删除”按钮,输入 input "请输入您想要删除的记录号" to d go d delete accept "确认删除请按小写字母y,否则取消删除)" to e if e="y" pack else recall endif 双击“按姓名升序显示”按钮,输入 index on 姓名 to xm brow 双击“按邮政编码升序显示”按钮,输入 index on 邮政编码 to yzbm brow 双击“按姓名查询”按钮,输入 accept "请输入您要查询的姓名" to f brow for 姓名=f 双击“退出”按钮,输入 close data set safe on thisform.release。

4.我现在急需一份VBnbsp;通讯录的毕业论文,希望大家可以给我提

vb+access通讯录管理系统(论文+程序)摘要通讯录管理系统是一个非常通用的管理系统。

很多地方都需要拥有自己的通讯录管理系统,以便对自己的同学、同事、朋友等信息资料的管理及使用。本毕业设计以通用的通讯录管理系统为实例,运用Visualnbsp;Basic和Microsoftnbsp;Access进行程序设计,讲述如何开发通讯录管理系统。

此设计具有很强的实用性,使用者只要根据具体情况稍加修改,就可以把它应用到实际需求中。本设计主要包括系统用户管理模块、用户基本资料模块。

我们根据这些功能,设计出系统的功能模块,每一个功能模块都需要针对不同的表完成相同的数据库操作,分别是查询(查看、预览)模块,具体实现了用户和人员信息的查看和预览;nbsp;更新(添加、修改、删除)模块,具体实现了用户和(新)人员信息的登记,修改,和删除;nbsp;生成预览报表,具体实现了人员信息的总的查看和浏览。设计利用visualnbsp;basicnbsp;6.0、Microsoftnbsp;Acessnbsp;数据库技术的基本特点,提高了编程效率和可靠性。

关键词:通讯录管理系统、数据库、Access、Visualnbsp;;Booknbsp;Managementnbsp;Systemnbsp;isnbsp;anbsp;verynbsp;innbsp;generalnbsp;usefulnbsp;managementnbsp;system.Anbsp;lotnbsp;ofnbsp;placesnbsp;needsnbsp;tonbsp;ownnbsp;ownnbsp;addressnbsp;booknbsp;managementnbsp;system,nbsp;innbsp;ordernbsp;tonbsp;managingnbsp;andnbsp;usingnbsp;ofnbsp;ownnbsp;classmate,nbsp;colleague,nbsp;friend。etc.nbsp;Informationnbsp;Data.Thisnbsp;graduatenbsp;designnbsp;withnbsp;thenbsp;innbsp;generalnbsp;usenbsp;addressnbsp;booknbsp;managesnbsp;thenbsp;systemnbsp;fornbsp;solidnbsp;example,nbsp;applicationnbsp;thenbsp;Visualnbsp;Basicnbsp;proceedsnbsp;withnbsp;Microsoftnbsp;Accessnbsp;thenbsp;procedurenbsp;designs,nbsp;relatingnbsp;hownbsp;tonbsp;developnbsp;addressnbsp;booknbsp;managementnbsp;system.Thisnbsp;designnbsp;hasnbsp;thenbsp;verynbsp;strongnbsp;function,nbsp;usernbsp;asnbsp;longnbsp;asnbsp;modifynbsp;slightlynbsp;morenbsp;accordingnbsp;tonbsp;concretenbsp;circumstance,nbsp;cannbsp;applynbsp;tonbsp;thenbsp;actualnbsp;neednbsp;tonbsp;itnbsp;inside.Thisnbsp;designnbsp;includesnbsp;primarilynbsp;systemnbsp;customernbsp;managementnbsp;moldnbsp;anbsp;basicnbsp;datanbsp;moldnbsp;piece.Wenbsp;accordingnbsp;tonbsp;thesenbsp;functions,nbsp;designnbsp;thenbsp;functionnbsp;moldnbsp;piecenbsp;ofnbsp;thenbsp;system,nbsp;eachnbsp;anbsp;functionnbsp;moldnbsp;piecenbsp;needsnbsp;tonbsp;aimnbsp;atnbsp;thenbsp;differentnbsp;formnbsp;completesnbsp;thenbsp;samenbsp;databasenbsp;operates,nbsp;respectivelynbsp;isnbsp;search(nbsp;looknbsp;into,nbsp;preview)nbsp;moldnbsp;piece,nbsp;realizesnbsp;innbsp;anbsp;specificnbsp;waynbsp;thenbsp;customernbsp;looksnbsp;intonbsp;withnbsp;previewnbsp;withnbsp;personnel'snbsp;information;nbsp;Renew(nbsp;increase,nbsp;modify,nbsp;delete)nbsp;thenbsp;moldnbsp;anbsp;registernbsp;for,nbsp;innbsp;anbsp;specificnbsp;waynbsp;realizesnbsp;customernbsp;with(nbsp;new)nbsp;personnel'snbsp;information,nbsp;modify,nbsp;withnbsp;delete;nbsp;Itnbsp;isnbsp;bornnbsp;tonbsp;previewnbsp;thenbsp;statement,nbsp;realizingnbsp;in。

5.通讯录管理系统的设计

程序是我自己的课程设计,已经试验可用#include#include#includetypedef struct{ char num[6]; char name[10]; char unit[20]; char phone[13]; char addr[30];}datatype;typedef struct node{ datatype data; struct node * next;}listnode;typedef listnode * linklist;linklist head;listnode *p;int menu_select( );linklist createlist(void);void insertnode(linklist head,listnode *p);listnode *listfind(linklist head);void delnode(linklist head);void printlist(linklist head);void main(){ for( ; ; ){ switch(menu_select() ) { case 1: printf(" ***********************************************\n"); printf(" ************** 通讯录链表的建立 ***************\n"); printf(" ***********************************************\n"); head=createlist(); break; case 2: printf(" ***********************************************\n"); printf(" ************** 通讯录信息添加 *****************\n"); printf(" ***********************************************\n"); printf(" ** 编号(4) 姓名(8) 单位(20) 电话(11) 地址(30)**\n"); printf(" ***********************************************\n"); p=(listnode *)malloc(sizeof(listnode)); scanf("%s%s%s%s%s",p->data.num,p->data.name,p->data.unit,p->data.phone,p->data.addr); insertnode(head,p); break; case 3: printf(" ******************************\n"); printf(" ******* 通讯录信息查询 *******\n"); printf(" ******************************\n"); p=listfind(head); if(p!=NULL){ printf(" ** 编号 姓名 单位 电话 地址**\n"); printf(" ------------------------------\n"); printf("%s,%s,%s,%s,%s\n",p->data.num,p->data.name,p->data.unit,p->data.phone,p->data.addr); printf(" ------------------------------\n"); } else printf("没有你要找的人 ! \n"); break; case 4: printf(" ***********************************\n"); printf(" **********通讯信息的删除***********\n"); printf(" ***********************************\n"); delnode(head); break; case 5: printf(" ***********************************\n"); printf(" **********通讯录链表的输出*********\n"); printf(" ***********************************\n"); printlist(head); break; case 0: printf("\t 谢谢您的使用! \n"); return; } }}int menu_select(){ int sn; printf(" \n"); printf(" \n"); printf(" \n"); printf(" 通讯录管理系统 \n"); printf(" \n"); printf(" ======================\n"); printf(" 1.通讯录链表的建立\n"); printf(" 2.通讯者结点的插入\n"); printf(" 3.通讯录链表的查询\n"); printf(" 4.通讯者结点的删除\n"); printf(" 5.通讯录链表的输出\n"); printf(" 0.退出通讯录管理系统\n"); printf(" ======================\n"); printf( " 请选择操作0-5 \n\n"); for(; ;) { scanf("%d",&sn); if(sn<0||sn>5) printf("\t输入错误\n"); else break; } return sn;}linklist createlist(void){ linklist head=(listnode *)malloc(sizeof(listnode)); listnode *p,*rear; int flag=1; rear=head; while(flag==1) { p=(listnode *)malloc(sizeof(listnode)); printf(" 编号(4) 姓名(8) 单位(20) 电话(11) 地址(31) \n"); printf(" --------------------------------------------\n"); scanf("%s%s%s%s%s",p->data.num,p->data.name,p->data.unit,p->data.phone,p->data.addr); rear->next=p; rear=p; printf(" 继续建表吗? (1.是/0.不):"); scanf("%d",&flag); } if(flag==1) printf("创建成功!\n"); rear->next=NULL; return head;}void insertnode(linklist head,listnode *p){ listnode *p1,*p2; p1=head; p2=p1->next; while(p2!=NULL && strcmp(p2->data.num,p->data.num)<0) { p1=p2; p2=p2->next; } p1->next=p; p->next=p2; printf("插入成功!\n");}listnode * listfind(linklist head){ listnode * p; char num[6]; char name[10]; int xz; printf("--------------------\n"); printf(" 1.编号查询\n"); printf(" 2.姓名查询\n"); printf("--------------------\n"); printf("请选择: \n"); p=head->next; scanf("%d",&xz); if (xz==1){ printf(" 请输入要查找的编号: "); scanf("%s",num); while(p && strcmp(p->data.num,num)<0) p=p->next; if (p==NULL || strcmp(p->data.num,num)>0) p=NULL; } else if(xz=2){ printf("请输入要查询者的姓名: "); scanf("%s",name); while(p && strcmp(p->data.name,name)!=0) p=p->next; } return p;}void delnode(linklist head) { int jx; listnode *p,*q; p=listfind(head); if(p==NULL){ printf("没有要删除的通讯者!:\n"); return; } printf ("真的要删除该结点吗?(1.是/0.不):"); scanf("%d",&jx); if (jx==1){ q=head; while(q!=NULL && q->next!=p) q=q->next; q->next=p->next; free(p); printf("通讯者已被删除!\n"); } }void printlist(linklist head){ listnode * p; p=head->next; printf(" 编号 姓名 单位 电话 地址\n"); printf(" -----------------------------\n"); while(p!=NULL) { printf(" %s, %s, %s, %s, %s\n",p->data.num,p->data.name,p->data.unit,p->data.phone,p->data.addr); printf(" ------------------------------\n"); p=p->next; }}。

6.通讯录管理系统

我这里有一个,你看看吧,满意的给分哦(在visual c++6.0上运行) #include #include /*使用字符串函数*/ #include /*使用通过控制台进行数据输入和数据输出的函数*/ #include #include /*使用DOS函数*/ int i; /*定义一个全局变量i*/ struct addr /*定义通讯地址结构体*/ { char post_num[10]; /*邮编*/ char addr[60]; /*家庭地址*/ }; struct birth /*定义出生年月结构体*/ { int year; /*年份*/ int month; /*月份*/ int day; /*日期*/ }; struct record1 /*定义电子通讯录结构体*/ { int number; /*序号*/ char name[20]; /*姓名*/ char sex; /*性别*/ struct birth birth; /*出生年月*/ struct addr addr; /*通信地址*/ char telephone[13]; /*联系电话*/ }records[50]; FILE *fp; /*定义指向file类型结构体的指针变量*/ void Data_Load() /*定义载入数据函数*/ { int j; long k; fp=fopen("record.txt","r+t"); /*打开文件record.txt,进行读写*/ if(fp!=NULL) /*如果文件不为空*/ { for(i=1;i<50;i++) { j=fgetc(fp); /*从"records.txt"文件读入整型数字*/ if(j==EOF) /*判断是否到了文件尾*/ return; /*如果到了结尾,返回*/ k=i-1; fseek(fp,k*sizeof(struct record1),SEEK_SET); /*将位置指针移到record1结构体所含字节 的第k倍个字节处*/ fread(&records[i],sizeof(struct record1),1,fp); /*读取一条记录*/ } } else { fp=fopen("record.txt","w"); /*打开文件record.txt,只写*/ i=1; } } void Data_Show(int j) /*定义显示数据函数*/ { printf("\n\n\tNo:%3d\n",records[j].number); /*序号*/ printf("\n\tname:%2s\n",records[j].name); /*姓名*/ printf("\n\tbirthday (y/m/d):%4d%2d%2d", records[j].birth.year, records[j].birth.month, records[j].birth.day); /*打印第j个成员的出生年月日*/ printf("\n\tpost code:%-10s",records[j].addr.post_num); /*邮编*/ printf("\n\taddress:%-40s",records[j].addr.addr); /*家庭地址*/ printf("\n\tphone%-13s",records[j].telephone); /*联系电话*/ } void Data_Input(int j) /*定义添加数据函数*/ { fflush(stdin); /*清空输入缓冲区*/ records[j].number=j; printf("\n\n\n\tinputNo %d ",j); printf("\n\tname:"); /*输入姓名*/ scanf("%s",records[j].name); fflush(stdin); /*清空输入缓冲区*/ printf("\tsex(m/f):"); /*输入性别*/ scanf("%c",&records[j].sex); printf("\t---birthday---"); /*输入出生年月*/ printf("\n\tyear:"); scanf("%d",&records[j].birth.year); printf("\tmonth:"); scanf("%d",&records[j].birth.month); printf("\tday:"); scanf("%d",&records[j].birth.day); printf("\tpost code:"); /*输入邮编*/ scanf("%s",records[j].addr.post_num); printf("\taddress:"); /*输入家庭地址*/ scanf("%s",records[j].addr.addr); printf("\tphone:"); /*输入联系电话*/ scanf("%s",records[j].telephone); } void Data_Save() /*定义保存函数*/ { int j; fp=fopen("record.txt","w"); /*打开文件record.txt,只写*/ for(j=1;j<=i;j++) { fwrite(&records[j],sizeof(struct record1),1,fp); /*将结构体变量records的确定个数字节输 入到record.txt文件中,个数为结构体friend1所含字节数*/ } } void main() /*主函数*/ { int j,k; char ch; char search_name[40]; /*定义字符串变量*/ Data_Load(); /*声明载入数据函数*/ i--; do { printf("********************************* MENU ***************************************\n"); printf("------------------------! WELLCOME TO THE SYSTEM !------------------------------"); printf("\n*\tSelect Function: *"); printf("*\t1.Add New *"); printf("*\t2.View the data *"); printf("*\t3.Delete *"); printf("*\t4.Search *"); printf("*\t5.Insert *"); printf("*\t6.Save and quit *"); printf("*\t7.Quit *"); printf("\n******************************** MENU ****************************************\n"); printf("\tPlease choose the option you need:"); ch=getche(); /*输入字符*/ switch(ch) { case '1': { int p; printf("\n\tPlease input the number of people you want to add:"); scanf("%d",&p);/*增加记录*/ printf("\tPlease press ENTER again"); while(getch()!=0x1b&&i通讯录已满*/ break; case '2': j=1; /*打印所有记录*/ while(getch()!=0x1b&&j<=i) Data_Show(j++); /*声明打印数据函数*/ if(j>i) printf("\n\tThe system is end\n"); /*显示记录末尾*/ break; case '3': /*删除通讯录中的记录*/ if(i<1) { printf("\n\tno record\n"); /*显示无记录*/ break; } printf("\n\tplease input the number you want to delect:"); scanf("%d",&k); printf("\tsucceed!\n"); for(j=k;j

7.通信录管理系统设计

程序是我自己的课程设计,已经试验可用 #include #include #include typedef struct{ char num[6]; char name[10]; char unit[20]; char phone[13]; char addr[30]; }datatype; typedef struct node{ datatype data; struct node * next; }listnode; typedef listnode * linklist; linklist head; listnode *p; int menu_select( ); linklist createlist(void); void insertnode(linklist head,listnode *p); listnode *listfind(linklist head); void delnode(linklist head); void printlist(linklist head); void main() { for( ; ; ){ switch(menu_select() ) { case 1: printf(" ***********************************************\n"); printf(" ************** 通讯录链表的建立 ***************\n"); printf(" ***********************************************\n"); head=createlist(); break; case 2: printf(" ***********************************************\n"); printf(" ************** 通讯录信息添加 *****************\n"); printf(" ***********************************************\n"); printf(" ** 编号(4) 姓名(8) 单位(20) 电话(11) 地址(30)**\n"); printf(" ***********************************************\n"); p=(listnode *)malloc(sizeof(listnode)); scanf("%s%s%s%s%s",p->data.num,p->data.name,p->data.unit,p->data.phone,p->data.addr); insertnode(head,p); break; case 3: printf(" ******************************\n"); printf(" ******* 通讯录信息查询 *******\n"); printf(" ******************************\n"); p=listfind(head); if(p!=NULL){ printf(" ** 编号 姓名 单位 电话 地址**\n"); printf(" ------------------------------\n"); printf("%s,%s,%s,%s,%s\n",p->data.num,p->data.name,p->data.unit,p->data.phone,p->data.addr); printf(" ------------------------------\n"); } else printf("没有你要找的人 ! \n"); break; case 4: printf(" ***********************************\n"); printf(" **********通讯信息的删除***********\n"); printf(" ***********************************\n"); delnode(head); break; case 5: printf(" ***********************************\n"); printf(" **********通讯录链表的输出*********\n"); printf(" ***********************************\n"); printlist(head); break; case 0: printf("\t 谢谢您的使用! \n"); return; } } } int menu_select() { int sn; printf(" \n"); printf(" \n"); printf(" \n"); printf(" 通讯录管理系统 \n"); printf(" \n"); printf(" ======================\n"); printf(" 1.通讯录链表的建立\n"); printf(" 2.通讯者结点的插入\n"); printf(" 3.通讯录链表的查询\n"); printf(" 4.通讯者结点的删除\n"); printf(" 5.通讯录链表的输出\n"); printf(" 0.退出通讯录管理系统\n"); printf(" ======================\n"); printf( " 请选择操作0-5 \n\n"); for(; ;) { scanf("%d",&sn); if(sn<0||sn>5) printf("\t输入错误\n"); else break; } return sn; } linklist createlist(void) { linklist head=(listnode *)malloc(sizeof(listnode)); listnode *p,*rear; int flag=1; rear=head; while(flag==1) { p=(listnode *)malloc(sizeof(listnode)); printf(" 编号(4) 姓名(8) 单位(20) 电话(11) 地址(31) \n"); printf(" --------------------------------------------\n"); scanf("%s%s%s%s%s",p->data.num,p->data.name,p->data.unit,p->data.phone,p->data.addr); rear->next=p; rear=p; printf(" 继续建表吗? (1.是/0.不):"); scanf("%d",&flag); } if(flag==1) printf("创建成功!\n"); rear->next=NULL; return head; } void insertnode(linklist head,listnode *p) { listnode *p1,*p2; p1=head; p2=p1->next; while(p2!=NULL && strcmp(p2->data.num,p->data.num)<0) { p1=p2; p2=p2->next; } p1->next=p; p->next=p2; printf("插入成功!\n"); } listnode * listfind(linklist head) { listnode * p; char num[6]; char name[10]; int xz; printf("--------------------\n"); printf(" 1.编号查询\n"); printf(" 2.姓名查询\n"); printf("--------------------\n"); printf("请选择: \n"); p=head->next; scanf("%d",&xz); if (xz==1){ printf(" 请输入要查找的编号: "); scanf("%s",num); while(p && strcmp(p->data.num,num)<0) p=p->next; if (p==NULL || strcmp(p->data.num,num)>0) p=NULL; } else if(xz=2){ printf("请输入要查询者的姓名: "); scanf("%s",name); while(p && strcmp(p->data.name,name)!=0) p=p->next; } return p; } void delnode(linklist head) { int jx; listnode *p,*q; p=listfind(head); if(p==NULL){ printf("没有要删除的通讯者!:\n"); return; } printf ("真的要删除该结点吗?(1.是/0.不):"); scanf("%d",&jx); if (jx==1){ q=head; while(q!=NULL && q->next!=p) q=q->next; q->next=p->next; free(p); printf("通讯者已被删除!\n"); } } void printlist(linklist head) { listnode * p; p=head->next; printf(" 编号 姓名 单位 电话 地址\n"); printf(" -----------------------------\n"); while(p!=NULL) { printf(" %s, %s, %s, %s, %s\n",p->data.num,p->data.name,p->data.unit,p->data.phone,p->data.addr); printf(" ------------------------------\n"); p=p->next; } }。

通讯录管理系统毕业论文

转载请注明出处众文网 » 通讯录管理系统毕业论文(求一份《通讯录管理系统》的毕业论文)

资讯

抢答器毕业论文设计(求一篇六路抢答器毕业论文)

阅读(95)

本文主要为您介绍抢答器毕业论文设计,内容包括求一篇六路抢答器毕业论文,谁给我个抢答器的毕业论文(图文并茂),八路抢答器毕业论文。随着科学技术的不断发展,促使人们学科学、学技术、学知识的手段多种多样。抢答器作为一种工具,已广泛应用于各

资讯

毕业论文发现和别人完全一样(毕业论文题目和别人一样要紧不)

阅读(87)

本文主要为您介绍毕业论文发现和别人完全一样,内容包括毕业论文题目和别人一样要紧不,毕业论文问卷跟别人一样算重复么,硕士的毕业论文,和别人的论文研究的是不同的领域,但是考虑的影响。毕业论文不可以撞题,在论文文献中,有任何的跟论文查重

资讯

苹果营销毕业论文(苹果手机的营销策略分析)

阅读(86)

本文主要为您介绍苹果营销毕业论文,内容包括苹果手机的营销策略分析,苹果公司的营销策略,论文求苹果公司发展历史总结。去百度文库,查看完整内容>内容来自用户:xdcdg武汉理工大学毕业论文苹果手机的营销策略分析摘要随着我国经济的快速发展,人

资讯

工商管理毕业调查论文(求工商管理毕业论文和社会调查报告)

阅读(93)

本文主要为您介绍工商管理毕业调查论文,内容包括求工商管理毕业论文和社会调查报告,工商企业管理毕业论文调研报告怎么写急,求,工商管理专科调查报告,和毕业论文。1.2工商企业管理就业状况新华网北京7月29日电中华英才网总裁张杰贤日前在接

资讯

会计专硕的毕业论文(会计专业毕业论文范文)

阅读(94)

本文主要为您介绍会计专硕的毕业论文,内容包括会计专硕有毕业论文么会计专硕有毕业论文么,会计专业毕业论文范文,会计专业的毕业论文。会计专业毕业论文范文 战略成本会计在企业管理中的应用分析 摘要:战略成本会计突破传统成本会计的局限,为

资讯

毕业论文周汇报10周(毕业设计周报怎么写)

阅读(100)

本文主要为您介绍毕业论文周汇报10周,内容包括毕业设计周报怎么写,市场营销毕业汇报周记10篇每篇1000字,拜托拜托急急急,毕业论文的周进展日志怎么写还有中期报告怎么写谢谢。湖南大学机械与运载工程学院第__周毕业设计周报姓名学号指导教

资讯

抢答器毕业论文设计(求一篇六路抢答器毕业论文)

阅读(95)

本文主要为您介绍抢答器毕业论文设计,内容包括求一篇六路抢答器毕业论文,谁给我个抢答器的毕业论文(图文并茂),八路抢答器毕业论文。随着科学技术的不断发展,促使人们学科学、学技术、学知识的手段多种多样。抢答器作为一种工具,已广泛应用于各

资讯

毕业论文发现和别人完全一样(毕业论文题目和别人一样要紧不)

阅读(87)

本文主要为您介绍毕业论文发现和别人完全一样,内容包括毕业论文题目和别人一样要紧不,毕业论文问卷跟别人一样算重复么,硕士的毕业论文,和别人的论文研究的是不同的领域,但是考虑的影响。毕业论文不可以撞题,在论文文献中,有任何的跟论文查重