简单的职工管理系统源代码.docVIP

  • 25
  • 0
  • 约6.7千字
  • 约 8页
  • 2018-04-18 发布于河南
  • 举报
简单的职工管理系统源代码

#include stdlib.h #include stdio.h #include malloc.h #include string.h typedef struct worker { int id; char name[20]; char sex[3]; int age; char edu[50]; int wages; char adr[255]; char phone[13]; }WORKER, *PWORKER; //typedef struct WORKER *PWORKER; typedef struct link { WORKER w; struct link *next; }LINK, *PLINK; //typedef struct LINK *PLINK; /*创建职工信息链表*/ PLINK create() { PLINK p=(PLINK)malloc(sizeof(LINK)); if(NULL!=p) { p-next=NULL; return p; } printf(内存不足!\n); return NULL; } /*显示程序界面文字*/ void message() { system(co

文档评论(0)

1亿VIP精品文档

相关文档