C程序通讯录源代码 要简单点 不要太复杂

来源:百度知道 编辑:UC知道 时间:2024/09/23 22:27:40

#include <stdio.h>//通讯录
#include <conio.h>
#include <string.h>
#include <stdlib.h>
#define N 100
int M=5;
struct student
{ char num[10];char name[10];char tel[10];};
void myprint()
{
system("cls");
printf(" |-----------------------------------------------|\n");
printf(" | :-)请输入选项编号(0-7): |\n");
printf(" |-----------------------------------------------|\n");
printf(" |--------------1--创建通讯录--------------------|\n");
printf(" |--------------2--显示通讯录--------------------|\n");
printf(" |--------------3--查询通讯录--------------------|\n");
printf(" |--------------4--修改通讯录--------------------|\n");
printf(" |--------------5--添加通