parent
1ded375019
commit
69cc3e0414
@ -0,0 +1,55 @@
|
|||||||
|
#ifndef DATA_H_INCLUDED
|
||||||
|
#define DATA_H_INCLUDED
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
|
// 函数声明
|
||||||
|
void read_data(void); // 读取
|
||||||
|
void save_data(void); // 保存
|
||||||
|
void print_data(void); // 打印
|
||||||
|
void query_data(void); // 查询
|
||||||
|
void add_data(void); // 添加
|
||||||
|
void update_data(void); // 修改
|
||||||
|
void delete_data(void); // 删除
|
||||||
|
void sort_data(void); // 排序
|
||||||
|
void make_chart(void); // 图表
|
||||||
|
|
||||||
|
|
||||||
|
void read_data(void)
|
||||||
|
{
|
||||||
|
printf("读取\n");
|
||||||
|
}
|
||||||
|
void save_data(void)
|
||||||
|
{
|
||||||
|
printf("保存\n");
|
||||||
|
}
|
||||||
|
void print_data(void)
|
||||||
|
{
|
||||||
|
printf("打印\n");
|
||||||
|
}
|
||||||
|
void query_data(void)
|
||||||
|
{
|
||||||
|
printf("查询\n");
|
||||||
|
}
|
||||||
|
void add_data(void)
|
||||||
|
{
|
||||||
|
puts("添加");
|
||||||
|
}
|
||||||
|
void update_data(void)
|
||||||
|
{
|
||||||
|
puts("修改");
|
||||||
|
}
|
||||||
|
void delete_data(void)
|
||||||
|
{
|
||||||
|
puts("删除");
|
||||||
|
}
|
||||||
|
void sort_data(void)
|
||||||
|
{
|
||||||
|
puts("排序");
|
||||||
|
}
|
||||||
|
void make_chart(void)
|
||||||
|
{
|
||||||
|
puts("图表");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
#endif // DATA_H_INCLUDED
|
Loading…
Reference in new issue