-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlog.h
More file actions
49 lines (27 loc) · 941 Bytes
/
log.h
File metadata and controls
49 lines (27 loc) · 941 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
//
// Created by lu'ren'jia'd's on 2021/12/17.
//
#ifndef LOG_H
#define LOG_H
#include <string>
#include "account.h"
#include "book.h"
void RecordAnEntry(double price);
std::string ShowEntry(int num);
std::string ShowAllEntry();
void Import_record(int num, double cost);
void Buy_record(int num, double cost, bookInfo to_buy);
void ReportFinanceLog();
void BuyLog(char *isbn, int quantity, double total);
void ImportLog(char *isbn, int quantity, double cost);
void ShowLog(char *show_argv, char *type);
void ModifyLog(bookInfo old,bookInfo now);
void RegisterLog(char *id, char *pass_word, char *user_name);
void UseraddLog(char *id, char *pass_word, int priority, char *user_name);
void DeleteLog(char *id);
void PasswdLog(char *id, char *passwd1, char *passwd2);
void ReportMyselfLog();
void ReportAnEmployee(char *id);
void ReportAllEmployee();
void LogLog();
#endif