structure.h

来自「图书销售管理系统 1基本信息管理 主要是操作管理员信息管理」· C头文件 代码 · 共 68 行

H
68
字号
#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 + =
减小字号Ctrl + -
显示快捷键?