📄 structure.h
字号:
#ifndef __STRUCTURE_H
#define __STRUCTURE_H
//定义程序使用的数据结构...
//进货管理类信息结构
typedef struct bookstock
{
int stocktime;
int ISBN;
CString bookname;
CString author;
CString bookconcern;
CString label;
float cost;
int bookcount;
}bookstock;
//退货管理类信息结构...
typedef struct bookrefund
{
int refundtime;
int ISBN;
CString bookname;
CString author;
CString bookconcern;
CString label;
float price;
int refundcount;
}bookrefund;
//库存信息结构
typedef struct bookstorage
{
int ISBN;
CString bookname;
CString author;
CString bookconcern;
CString label;
float price; //售价
float cost; //成本
int storecount;
}bookstorage;
// 销售信息结构
typedef struct bookvend
{
int vendtime;
int ISBN;
CString bookname;
CString author;
CString bookconcern;
CString label;
float price;
int vendcount;
}bookvend;
// 供应商信息...
typedef struct booksupply
{
int ISBN;
CString bookname;
CString author;
CString bookconcern;
float cost;
int supplycount;
}booksupply;
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -