通讯录管理

  • H3_392930
    了解作者
  • 5.3KB
    文件大小
  • rar
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-04-04 23:20
    上传日期
程序应提供的基本基本管理功能有: 1) 添加:即增加一个人的记录到通信录中 2) 显示:即在屏幕上显示所有通信录中的人员信息,应能分屏显示。 3) 存储:即将通讯录信息保存在一个文件中。 4) 装入:即将文件中的信息读入程序。 5) 查询:可根据姓名查找某人的相关信息,若找到显示其姓名、地址、电话号码和邮政编码。 6) 修改:可修改一个人的除姓名外其它信息。
588487679guanli.rar
  • guanli.doc
    39KB
内容介绍
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta charset="utf-8"> <meta name="generator" content="pdf2htmlEX"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <link rel="stylesheet" href="https://static.pudn.com/base/css/base.min.css"> <link rel="stylesheet" href="https://static.pudn.com/base/css/fancy.min.css"> <link rel="stylesheet" href="https://static.pudn.com/prod/directory_preview_static/6278cb44d7996104df766e0e/raw.css"> <script src="https://static.pudn.com/base/js/compatibility.min.js"></script> <script src="https://static.pudn.com/base/js/pdf2htmlEX.min.js"></script> <script> try{ pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({}); }catch(e){} </script> <title></title> </head> <body> <div id="sidebar" style="display: none"> <div id="outline"> </div> </div> <div id="pf1" class="pf w0 h0" data-page-no="1"><div class="pc pc1 w0 h0"><img class="bi x0 y0 w1 h1" alt="" src="https://static.pudn.com/prod/directory_preview_static/6278cb44d7996104df766e0e/bg1.jpg"><div class="c x0 y1 w2 h2"><div class="t m0 x1 h3 y2 ff1 fs0 fc0 sc0 ls0 ws0">C<span class="_ _0"> </span><span class="ff2">&#35821;&#35328;&#36890;&#35759;&#24405;&#31649;&#29702;&#31243;&#24207;</span></div><div class="t m0 x1 h3 y3 ff2 fs0 fc0 sc0 ls0 ws0">&#30446;<span class="ff1"> </span>&#26631;&#65306;&#32534;&#20889;&#31243;&#24207;&#65292;&#24314;&#31435;&#19968;&#20010;&#36890;&#35759;&#24405;&#65292;&#23384;&#25918;&#26377;&#22995;&#21517;&#12289;&#30005;&#35805;&#21495;&#30721;&#12289;&#20303;&#22336;&#31561;&#65292;&#20855;&#22791;&#36755;&#20837;&#12289;&#26597;&#25214;&#12289;</div><div class="t m0 x1 h3 y4 ff2 fs0 fc0 sc0 ls0 ws0">&#28155;&#21152;&#12289;&#20462;&#25913;&#21450;&#21024;&#38500;&#31561;&#21151;&#33021;&#12290;</div><div class="t m0 x1 h3 y5 ff2 fs0 fc0 sc0 ls0 ws0">&#35201;<span class="ff1"> </span>&#27714;&#65306;&#20855;&#22791;&#33756;&#21333;&#21151;&#33021;&#25110;&#35814;&#32454;&#30340;&#25552;&#31034;&#21151;&#33021;&#65292;&#33267;&#23569;&#20855;&#22791;&#25968;&#25454;&#36755;&#20837;&#12289;&#36755;&#20986;&#12289;&#26597;&#35810;&#12289;&#21024;&#38500;&#12289;&#25991;&#20214;</div><div class="t m0 x1 h3 y6 ff2 fs0 fc0 sc0 ls0 ws0">&#20445;&#23384;&#12289;&#25991;&#20214;&#35835;&#20837;&#20013;&#30340;&#20004;&#39033;&#21151;&#33021;&#12290;&#33021;&#21147;&#24378;&#30340;&#21516;&#23398;&#21487;&#20197;&#35774;&#35745;&#34920;&#26684;&#21270;&#36755;&#20986;&#12290;&#29087;&#32451;&#25484;&#25569;&#25991;&#20214;&#25110;&#32467;&#26500;</div><div class="t m0 x1 h3 y7 ff2 fs0 fc0 sc0 ls0 ws0">&#20307;&#30340;&#25805;&#20316;&#65292;&#31243;&#24207;&#20013;&#33267;&#23569;&#35201;&#26377;&#19968;&#20010;&#33258;&#23450;&#20041;&#32467;&#26500;&#20307;&#12290;&#24635;&#31243;&#24207;&#37327;&#19981;&#23569;&#20110;<span class="_ _0"> </span><span class="ff1">100<span class="_ _0"> </span></span>&#34892;&#65292;&#36755;&#20986;&#25968;&#25454;&#35201;&#36827;&#34892;</div><div class="t m0 x1 h3 y8 ff2 fs0 fc0 sc0 ls0 ws0">&#36866;&#24403;&#32654;&#21270;&#12290;&#31243;&#24207;&#35201;&#26377;&#35814;&#32454;&#30340;&#27880;&#37322;&#21450;&#24517;&#35201;&#30340;&#35828;&#26126;&#25991;&#26723;<span class="ff1"> </span></div><div class="t m0 x1 h4 y9 ff1 fs0 fc0 sc0 ls0 ws0">#include&lt;stdio.h&gt;</div><div class="t m0 x1 h4 ya ff1 fs0 fc0 sc0 ls0 ws0">#include&lt;stdlib.h&gt;</div><div class="t m0 x1 h4 yb ff1 fs0 fc0 sc0 ls0 ws0">#define MAX 100</div><div class="t m0 x1 h4 yc ff1 fs0 fc0 sc0 ls0 ws0">struct addr{</div><div class="t m0 x1 h4 yd ff1 fs0 fc0 sc0 ls0 ws0"> char name[30];</div><div class="t m0 x1 h4 ye ff1 fs0 fc0 sc0 ls0 ws0"> char street[40];</div><div class="t m0 x1 h4 yf ff1 fs0 fc0 sc0 ls0 ws0"> char city[20];</div><div class="t m0 x1 h4 y10 ff1 fs0 fc0 sc0 ls0 ws0"> char state[3];</div><div class="t m0 x1 h4 y11 ff1 fs0 fc0 sc0 ls0 ws0"> unsigned long int zip;</div><div class="t m0 x1 h4 y12 ff1 fs0 fc0 sc0 ls0 ws0">}add_list[MAX];</div><div class="t m0 x1 h4 y13 ff1 fs0 fc0 sc0 ls0 ws0">void init_list(void),enter(void);</div><div class="t m0 x1 h4 y14 ff1 fs0 fc0 sc0 ls0 ws0">void delete(void),list(void);</div><div class="t m0 x1 h4 y15 ff1 fs0 fc0 sc0 ls0 ws0">void load(void),save(void);</div><div class="t m0 x1 h4 y16 ff1 fs0 fc0 sc0 ls0 ws0">int menu_select(void),find_free(void);</div><div class="t m0 x1 h4 y17 ff1 fs0 fc0 sc0 ls0 ws0">int main(void)</div><div class="t m0 x1 h4 y18 ff1 fs0 fc0 sc0 ls0 ws0">{</div><div class="t m0 x1 h4 y19 ff1 fs0 fc0 sc0 ls0 ws0"> char choice;</div><div class="t m0 x1 h4 y1a ff1 fs0 fc0 sc0 ls0 ws0"> init_list();/*initialize the structure array*/ </div><div class="t m0 x1 h4 y1b ff1 fs0 fc0 sc0 ls0 ws0"> for(;;){</div><div class="t m0 x1 h4 y1c ff1 fs0 fc0 sc0 ls0 ws0"> choice=menu_select();</div><div class="t m0 x1 h4 y1d ff1 fs0 fc0 sc0 ls0 ws0"> switch(choice){</div><div class="t m0 x1 h4 y1e ff1 fs0 fc0 sc0 ls0 ws0"> case 1:enter();</div><div class="t m0 x1 h4 y1f ff1 fs0 fc0 sc0 ls0 ws0"> break;</div><div class="t m0 x1 h4 y20 ff1 fs0 fc0 sc0 ls0 ws0"> case 2:delete();</div><div class="t m0 x1 h4 y21 ff1 fs0 fc0 sc0 ls0 ws0"> break;</div><div class="t m0 x1 h4 y22 ff1 fs0 fc0 sc0 ls0 ws0"> case 3:list();</div><div class="t m0 x1 h4 y23 ff1 fs0 fc0 sc0 ls0 ws0"> break;</div><div class="t m0 x1 h4 y24 ff1 fs0 fc0 sc0 ls0 ws0"> case 4:save();</div><div class="t m0 x1 h4 y25 ff1 fs0 fc0 sc0 ls0 ws0"> break;</div><div class="t m0 x1 h4 y26 ff1 fs0 fc0 sc0 ls0 ws0"> case 5:load();</div><div class="t m0 x1 h4 y27 ff1 fs0 fc0 sc0 ls0 ws0"> break;</div><div class="t m0 x1 h4 y28 ff1 fs0 fc0 sc0 ls0 ws0"> case 6:exit(0);</div><div class="t m0 x1 h4 y29 ff1 fs0 fc0 sc0 ls0 ws0"> }</div></div></div><div class="pi" data-data='{"ctm":[1.611850,0.000000,0.000000,1.611850,0.000000,0.000000]}'></div></div> </body> </html>
评论
    相关推荐