📄 super_marker.h
字号:
#ifndef SUPER_MARKER_H
#define SUPER_MARKER_H
#include<fstream>
using namespace std;
struct goods
{
char name[16];//
char bar_code[16];//条形码
int serial_number; //编码
char buy_date[20];
int quantity;//商品数量
float sell_price;
float getin_price;
};
class Market
{
private:
fstream goods_file;
goods good;
friend class Customer;
public:
Market();
~Market();
void stock();//进货
void set_price();
void view_good();
void buy();
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -