define StrNum 20 #define Type 20 #include #include #include #include //输入/输出文件流类 using namespace std; const int Maxb=100; //最多可存储的图书 class Book { private: int tag; //删除标记 int num; //图书编号 int add; //增加标记 char number[StrNum]; //编号 char name[StrNum
#include "stdio.h" #include "iostream" #include "string" #include #include using namespace std; //商品类 class Goods{ public: int name; int importprice; int sellingprice; int productid; int quantilysold; int stock; int provider; Goods *next; void add(i
#include #include using namespace std; typedef struct page { int num; int bl_num; int i; struct page *next; }p_list,*p_ptr; typedef struct memory { int data; struct memory *next; }m_list,*m_ptr; int wst[8][8]; int v,z,qy_f=0,qy_l=0,yh; void change_