@ -13,16 +13,16 @@ static int num_parts = 0;
#include <stdlib.h>
//定义常量
#define CMD_QUIT 0
#define CMD_QUERY 4
#define CMD_READ 1
#define CMD_SAVE 2
#define CMD_PRINT 3
#define CMD_INSERT 5
#define CMD_UPDATE 6
#define CMD_DELETE 7
#define CMD_SORT 8
#define CMD_CHART 9
// 菜单命令的编号
// 函数声明