Êý¾Ý½á¹¹¿Î³ÌÉè¼Æ
ͨѶ¼
Ŀ ¼
1¡¢ ¿Î³ÌÉè¼ÆµÄÄ¿µÄ£º................................................ 1
2¡¢ ÐèÇó·ÖÎö£º...................................................... 1
1. ÒªÇó£º ....................................................... 1 2. Ïêϸ¹¦ÄÜ£º ................................................... 1
3¡¢¿Î³ÌÉè¼Æ±¨¸æÄÚÈÝ:................................................ 1 1. ͨѶ¼¹ÜÀíϵͳµ÷ÓùØϵͼ£º ................................... 1 2. Éè¼Æ½á¹¹Ìå¼°º¯Êý±í£º ......................................... 2 3. ʵÏÖÖ÷³ÌÐòºÍ¸÷Ä£¿éµÄµ÷ÓùØϵ£º ............................... 2
4¡¢ ÏêϸÉè¼Æ£º...................................................... 3 1. ¸÷¸ö²Ù×÷µÄË㷨ʵÏÖ£º ......................................... 3 2.³ÌÐòÇåµ¥£º(¼û¸½Â¼) ............................................ 4
5¡¢²Î¿¼ÎÄÏ×£º....................................................... 5
6¡¢ ²¿·ÖÔËÐнá¹û½çÃ棺.............................................. 5 1.µ÷ÊÔ·ÖÎö£º .................................................... 7 2. µ÷ÊÔÖÐÓöµ½µÄÎÊÌ⣺ ........................................... 7
7¡¢×ܽ᣺........................................................... 8
8¡¢¸½Â¼£º£¨³ÌÐò£©.................................................... 8
1
1¡¢¿Î³ÌÉè¼ÆµÄÄ¿µÄ£º
Óá´¡´Êý¾Ý½á¹¹¡µ¡µÖеÄË«ÏòÁ´±í×÷Êý¾Ý½á¹¹£¬½áºÏCÓïÑÔ»ù±¾ÖªÊ¶¡£±àдһ¸öͨѶ¼¹ÜÀíϵͳ¡£ÒÔ°ÑËùѧÊý¾Ý½á¹¹ÖªÊ¶Ó¦Óõ½Êµ¼ÊÈí¼þ¿ª·¢ÖÐÈ¥¡£Á˽ⲢÕÆÎÕÊý¾Ý½á¹¹ÓëËã·¨µÄÉè¼Æ·½·¨£¬¾ß±¸³õ²½µÄ¶ÀÁ¢·ÖÎöºÍÉè¼ÆÄÜÁ¦£»³õ²½ÕÆÎÕÈí¼þ¿ª·¢¹ý³ÌµÄÎÊÌâ·ÖÎö¡¢ÏµÍ³Éè¼Æ¡¢³ÌÐò±àÂë¡¢²âÊԵȻù±¾·½·¨ºÍ¼¼ÄÜ£»Ìá¸ß×ÛºÏÔËÓÃËùѧµÄÀíÂÛ֪ʶºÍ·½·¨¶ÀÁ¢·ÖÎöºÍ½â¾öÎÊÌâµÄÄÜÁ¦£»ÑµÁ·ÓÃϵͳµÄ¹ÛµãºÍÈí¼þ¿ª·¢Ò»°ã¹æ·¶½øÐÐÈí¼þ¿ª·¢£¬ÅàÑøÈí¼þ¹¤×÷ÕßËùÓ¦¾ß±¸µÄ¿ÆѧµÄ¹¤×÷·½·¨ºÍ×÷·ç£»
1.ÒªÇó£º
£¨1£©Éè¼ÆÒ»¸öʵÓõÄСÐÍͨѶ¼£¬ÓÃË«ÏòÁ´±í×öÊý¾Ý½á¹¹£¬±àдһ¸öͨѶ¼¹ÜÀí ϵͳʵÏÖͨѶ¼ÐÅÏ¢µÄÊäÈë¡¢Ìí¼Ó¡¢ÏÔʾ¡¢ÒÔÐÕÃû×ö¹Ø¼ü×Ö½øÐвéÕÒ¡¢É¾³ýЊϢµÈ¹¦ÄÜ¡£
£¨2£©Ã¿ÌõÐÅÏ¢ÖÁÉÙ°üº¬£ºÐÕÃû¡¢½ÖµÀ¡¢³ÇÊС¢Óʱࡢ¹ú¼ÒµÈÐÅÏ¢¡£ 2.Ïêϸ¹¦ÄÜ£º
A.ÔØÈëÎļþload£¨£©£º
½«´ÅÅÌÖпÉÄÜ´æÔÚµÄÎļþÔØÈëµ½ÄÚ´æÖС£ A.ÐÅÏ¢ÊäÈëenter£¨£©£º
ϵͳ½«ÌáʾÊäÈëмͼËùÐèÐÅÏ¢£¬ÐÅÏ¢°üº¬£ºÐÕÃû¡¢½ÖµÀ¡¢³ÇÊС¢Óʱࡢ¹ú¼Ò¡£ B.ÐÅϢɾ³ýdel£¨£©£º
Ê×ÏÈÌáʾÓû§ÊäÈëҪɾ³ýµÄ¼Í¼ÐÕÃû£¬È»ºóµ÷ÓÃɾ³ýº¯Êý£¬É¾³ý¸Ã¼Í¼µÄÏà¹Ø ×ÊÁÏ£¬Ö§³ÖÖØÃûÑ¡Ôñɾ³ýºÍÑ»·É¾³ý¡£ C.²éÕÒsearch£¨£©£º
ÌáʾÓû§ÊäÈëÒª²éÕÒµÄÐÕÃû£¬È»ºóϵͳµ÷ÓòéÕÒº¯Êý²éÕÒ£¬½Ó×ÅϵͳʹÓÃÏà¹Ø ÃüÁîÊä³ö²éµ½µÄÈ«²¿ÐÅÏ¢¡£ D.ÏÔʾȫ²¿display£¨£©£º
½«ÄÚ´æÖеļͼÄÚÈÝÈ«²¿Êä³ö£¬°üÀ¨Î´±£´æµ½´ÅÅ̵ļǼÏî¡£ E.±£´æsave£¨£©£º
½«²Ù×÷½á¹ûʵʱ±£´æµ½´ÅÅÌÎļþtxl.txtÖУ¬Íê³Éºó·µ»Øµ½Ö÷²Ëµ¥½çÃæ¡£ F.Í˳öϵͳexit£¨0£©£º
Ö±½ÓÍ˳öϵͳ£¬²»±£´æÐ޸ġ£
2¡¢ÐèÇó·ÖÎö£º
3¡¢¿Î³ÌÉè¼Æ±¨¸æÄÚÈÝ:
1.ͨѶ¼¹ÜÀíϵͳµ÷ÓùØϵͼ£º
1
2.Éè¼Æ½á¹¹Ìå¼°º¯Êý±í£º
£¨1£©½á¹¹Ì壺 struct record {
char name[20]; char street[20]; char city[20];
char eip[20]; //Óʱà char state[20];
}people[500];//500¸ö¼Ç¼£¬¿ÉÐÞ¸Ä
struct pnode {
record data;
struct pnode *next, *prior;//Ë«Ñ»·Á´±í };
typedef pnode * linklist;
£¨2£©º¯ÊýĿ¼±í£º
void mainmenu();//Ö÷²Ëµ¥ void searchmenu();//²éѯ²Ëµ¥ void enter();//Ìí¼Óмͼ
void search();//°´Ìõ¼þËÑË÷¼Ç¼ void display();//ÏÔʾȫ²¿¼Ç¼ void load();//ÔØÈëÎļþ void save();//дÈëÎļþ void del();//ɾ³ý¼Ç¼
void listinsert();//²åÈë½áµãº¯Êý void initlist();//³õʼ»¯Á´±íº¯Êý
3.ʵÏÖÖ÷³ÌÐòºÍ¸÷Ä£¿éµÄµ÷ÓùØϵ£º
void main() //Ö÷º¯Êý {
initlist();//³õʼ»¯Á´±í load();//ÔØÈëÎļþ
listinsert(); //ÔöÉèнڵã while (1)
mainmenu(); //½øÈëÖ÷²Ëµ¥£¬ÓзǷ¨ÊäÈëÈÔÍ£ÁôÔÚÖ÷²Ëµ¥ }
void mainmenu()//Ö÷²Ëµ¥ { ²Ëµ¥½çÃæ;
printf(\ switch (ch) {
2