-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlog.h
21 lines (17 loc) · 746 Bytes
/
log.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef LOG_H
#define LOG_H
#include <string>
#include <iostream>
#include <fstream>
using namespace std;
class Log {
public:
void UserLog(string loginname, string username, string operation, int status); // Add new information to UserLog.txt
void BookLog(string loginname, string bookisbn, string operation, int number); // Add new information to BookLog.txt
void CashLog(string loginname, string bookisbn, string operation, double money); // Add new information to CashLog.txt
void CommentLog(string loginname, string comment); // Add new comment to comment.txt
void ShortOfBookLog(string bookName, string storeName); // Add new short of book reminder to ShortOfBook.txt
void CheckShortOfBookLog();
void CheckCommentLog();
};
#endif