-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRecordStructures.cpp
More file actions
46 lines (36 loc) · 1.43 KB
/
Copy pathRecordStructures.cpp
File metadata and controls
46 lines (36 loc) · 1.43 KB
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
//----------------------------------------------------------|
//Programmer Name: Zach Bresser |
//Date Written: 1/27/15 |
//Purpose: A console application that displays a college |
// schedule and allows you to interact with it in a |
// variety of ways |
//Project Files: |
// Source: |
// classSchedule.cpp |
// menu.cpp |
// RecordStructures.cpp |
// Header Files: |
// menu.h |
// RecordStructures.h |
//----------------------------------------------------------|
#include <iostream>
#include <string>
#include "RecordStructures.h"
#include "menu.h"
using namespace std;
// Declare Constants
const int MAX_CLASSES = 50;
int main()
{
// Declare an instance of classSchedule
classSchedule currentSchedule[MAX_CLASSES];
int numElems = 0;
numElems = currentSchedule->inputFromFile(currentSchedule);
char contin = 'Y';
while (contin == 'Y' || contin == 'y')
{
menu(currentSchedule, numElems);
cout << endl << "Would you like to Continue(Y/N)?: ";
cin >> contin;
}
}