#include /*字符函数和字符串函数*/ #include /*字符模式函数(调用getch()函数)*/ #include /*输入输出函数*/ int i; struct person /*电子通讯录结构定义*/ { char num[5]; char name[11]; char sex[2]; char phone[12]; char address[26]; char post_num[11]; }persons[50]; FILE *fp; vonum dateload() /*数据载入函数*/ { int j; fp=fopen("person
bat","r+"); /*打开文件person
bat*/ if(fp==NULL) /*判断是否存在person
bat,如果不存在则创建*/ { fp=fopen("person
bat","w"); i=0; } else { for(i=0;i'9'||num[j]