-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
26 lines (23 loc) · 720 Bytes
/
main.cpp
File metadata and controls
26 lines (23 loc) · 720 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
//main.cpp
#include "Executive.h"
#include <iostream>
#include <string>
int main()
{
//safeguard for if the required information was not passed in
/*if(argc< 2)
{
std::cout<<"You need two parameters"<<'\n';
}*/
//if all information needed was there this runs
// else
// {
//reads the first argument passed as the fileName of the txt file
//std::string fileName=argv[1];
//calls the executive class and created an instance where the information from that class is executed
Executive e1;
//running the program
e1.run();
// }
return(0);
}