-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
37 lines (32 loc) · 773 Bytes
/
Copy pathmain.cpp
File metadata and controls
37 lines (32 loc) · 773 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
/* University (Yliopisto)
*
* Desc:
* This program creates an class where you can
* input staff and students alike and asign them to
* different courses.
*
* The program also keeps in track of the time
* and is able to take in commands to change it.
*
* Program keeps track of the completed cources a student
* has completed and gives the points (5) for each one.
*
* Program Author:
* Name: Petrus Jussila
*/
#include "utils.hh"
#include "cli.hh"
#include "university.hh"
#include <iostream>
#include <string>
#include <vector>
#include <fstream>
const std::string PROMPT = "Uni> ";
int main()
{
University* university = new University();
Cli cli(university, PROMPT);
while ( cli.exec() ){}
delete university;
return EXIT_SUCCESS;
}