book.h

来自「图书馆程序设计」· C头文件 代码 · 共 19 行

H
19
字号
#include <iostream>
#include <string>
using namespace std;
namespace jixia
{
 class Book
 {
	int ID;       // 条码
	string Name;  // 书名
	string Author;// 作者 
	string Price; // 价格
 public:
	Book(int IDs,string Names,string Authors,string Prices);
	~Book()  {}
	friend ostream& operator<<(ostream &o,Book &b);
    friend class Books;
	friend class Library;
 };
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?