-
Notifications
You must be signed in to change notification settings - Fork 1
/
LMS.h
39 lines (32 loc) · 1017 Bytes
/
LMS.h
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
//
// Created by Lappy on 5/20/2024.
//
#ifndef STUDENTMANAGEMENTSYSTEM_LMS_H
#define STUDENTMANAGEMENTSYSTEM_LMS_H
#include <queue>
#include <string>
#include "Student.h"
#include "Teacher.h"
#include "Course.h"
using namespace std;
class LMS {
private:
queue<Student> students;
queue<Teacher> teachers;
queue<Course> courses;
public:
void addStudent(string username, string password, int id);
void addTeacher(string username, string password, int id);
void addCourse(int id, string name, string desc, string teacherUsername);
void enrollStudentInCourse(string studentUsername, int courseID);
void listStudents();
void listTeachers();
void listCourses();
bool loginStudent(string username, string password, int id);
bool loginTeacher(string username, string password, int id);
void studentMenu(int id);
void teacherMenu(int id);
void adminMenu();
void mainMenu();
};
#endif //STUDENTMANAGEMENTSYSTEM_LMS_H