?? borrow.h
字號:
#ifndef BORROW_H
#define BORROW_H
#include "date.h"
#include <iostream>
#include <string>
using namespace std;
namespace jixia
{
class Borrow
{
int Book_ID; // 藏書的條碼
int Reader_ID; // 讀者的證件號
Date BorrowDay; // 借書日期
Date ReturnDay; // 還書日期
double Penalty; // 罰金
public:
Borrow() {}
Borrow(int book_ID,int reader_ID,Date borrowDay,Date returnDay,double penalty=0);
Borrow(const Borrow &b);
~Borrow() {}
friend ostream& operator<<(ostream &o,Borrow &b);
friend class Borrows;
friend class Library;
};
}
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -