📄 books.h
字号:
#ifndef BOOKS_H
#define BOOKS_H
#include"Date.h"
class Books{
public:
string m_ID;//编号
string m_BookName;//书名
string m_Author;//作者
string m_press;//出版社
Date m_publicDate;//出版日期
double m_price;
public:
Books();//无参
Books(string _id,string _bookName,string _author,string _press, Date _publicDate,double _price);//有参
Books(Books & b);//拷贝构造函数
Books *next;
friend ostream & operator<<(ostream & output,Books &b);
friend istream &operator >>(istream & input,Books &b);
};
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -