/*Linklist
h*/ #include"stdio
h" #include"stdlib
h" #include "string
h" #define TRUE 1 #define FALSE 0 #define OK 1 #define ERROR 0 #define OVERFLOW -2 typedef struct LNode { char id[20]; char name[10]; char sex[10]; char birth[10]; char edu[10]; char duty[10]; char phone[20]; char address[30]; struct LNode *next; }LNode,*Linklist;//定义节点类型 int CreatList(Linklist &L) { Linklist p; p=(Linklist)malloc(sizeof(LNode)); if(
p) { return (0); } else { printf("请输入员工编号\n"); scanf("%s",p->id); printf("请输入员工姓名\n"); scanf("%s",p->name); printf("请输入员工性别\n"); scanf("%s",p->sex); printf("请输入员工生日\n"); scanf("%s",p->birth); printf("请输入员工学历\n"); scanf("%s",p->edu); printf("请输入员工职务\n"); scanf("%s",p->duty); printf("请输入员工电话\n"); scanf("%s",p->phone); printf("请输入员工地址\n"); scanf("%s",p->address); } p->next=L->ne