-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStudent.h
More file actions
29 lines (24 loc) · 956 Bytes
/
Student.h
File metadata and controls
29 lines (24 loc) · 956 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
//ESE 224 Project 2nd Submission
//Copyright by the following
//Brian Cheung 112797337
//Beryl Chen 112691811
//Sila Atalar 113165359
//Hardik Shahu 170060996
#include <iostream>
#include <fstream>
#include <string>
#include <vector>
#include "Reader.h"
using namespace std;
//class Book;
class Student: virtual public Reader
{
public:
//constructors
Student() : Reader() {};
Student(string username, string password, int copies = 0, int numReservedBook = 0, int penalties = 0, int maxCopies = 5, int maxTime = 30) :
Reader(username, password, copies, numReservedBook, penalties, maxTime, maxCopies) {}
Student(string username, string password, int copies, int numReservedBook, int penalties,
vector<string> titlesVec, vector<string> bookReservationList, int maxCopies=5, int maxTime=30) :
Reader(username, password, copies, numReservedBook, penalties, titlesVec, bookReservationList, maxTime, maxCopies) {}
};