You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.1 KiB

#ifndef MANGERBOOK_H
#define MANGERBOOK_H
#include "Book.h"
#include <vector>
#include <iostream>
#include <cstring>
#include <io.h>
#include <direct.h>
#define EXIT 0
#define LOANRANKING 1
#define ADDBOOK 2
#define SEARCHBOOK 3
#define SELECTBOOK 4
#define LOANBOOK 5
#define RETURNBOOK 6
#define SHOWBOOK 7
#define OTHERS 8
#define FILENAME "D:/c++һЩ<D2BB><D0A9><EFBFBD><EFBFBD>/library class<73><73>/library class<73><73>/ͼ<EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϣ.txt"
using namespace std;
class MangerBook
{
public:
MangerBook();//<2F><><EFBFBD><EFBFBD><ECBAAF>
virtual ~MangerBook();//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
void ShowMenu();//<2F>˵<EFBFBD>
void Exit_Sys();//<2F>˳<EFBFBD>
void Init_Book();//<2F><>ʼ<EFBFBD><CABC>
void LoanRanking();//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>а<EFBFBD>
void AddBook();//<2F><><EFBFBD><EFBFBD>ͼ<EFBFBD><CDBC>
void SearchBook();//<2F><><EFBFBD><EFBFBD>ͼ<EFBFBD><CDBC>
void SelectBook();//ɾ<><C9BE>ͼ<EFBFBD><CDBC>
void LoanBook();//<2F><><EFBFBD><EFBFBD>ͼ<EFBFBD><CDBC>
int IndexBook(string name);//<2F><><EFBFBD><EFBFBD>ͼ<EFBFBD><CDBC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>λ<EFBFBD><CEBB>
int CntDay(const Date& date1, const Date& date2);//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>֮<EFBFBD><D6AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
bool LegalDate(const Date& date);//<2F>ж<EFBFBD><D0B6><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ƿ<EFBFBD><C7B7>Ϸ<EFBFBD>
void ReturnkBook();//<2F>黹ͼ<E9BBB9><CDBC>
void ShowBook();//<2F><>ʾ<EFBFBD><CABE><EFBFBD><EFBFBD>
vector<Book*>* Book_Array;//<2F><><EFBFBD><EFBFBD>
protected:
private:
};
#endif // MANGERBOOK_H