- 8
- 0
- 约6.49千字
- 约 12页
- 2020-10-29 发布于河北
- 举报
#includestdio.h/*I/O
函数 */
#includestring.h/*
字符串函数 */
#includemalloc.h/*
动态存储分配函数
#include stdlib.h /*
标准函数库 */
#includeconio.h/*
屏幕操作函数 */
#define NULL 0 /*
宏定义 */
#define LEN sizeof(struct worker)/*
struct worker /*
数据结构链表 */
{
char id[19];
char name[9];
char sex[3];
int age;
char department[7];
char position[7];
char telephone[13];
float pay;
struct worker *next;
};
void newRec();/* 新建职工记录 */
void searchRec();/*
查询职工记录 */
void modifyRec();/*
修改职工记录 */
void deleteRec();/*
删除职工记录 */
void displayRec();/*
显示所有职工信息
void loadRec();/*
导入文件到内存 */
void saveRec();/*
保存所有记录 */
void printRec();/*
输出报
原创力文档

文档评论(0)