forked from DanielBillette/SoftwareProject
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMain.cpp
More file actions
35 lines (30 loc) · 666 Bytes
/
Main.cpp
File metadata and controls
35 lines (30 loc) · 666 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
#include <iostream>
#include <vector>
#include <string>
#include "dataHub.h"
#include "Recipient.h"
using namespace std;
//TEST Print
void print(vector<string> v)
{
vector<string>::iterator it;
for (it = v.begin(); it < v.end(); it++)
{
cout << *it << endl;
}
}
void ExecuteCmd(string cmd)
{
}
void main()
{
Recipient recipient;
string input;
cout << "Please enter one of the preset responses;"
<< endl << "hello, hi, hey," << endl
<< "how are you, sup, whats up," << endl
<< "any line that starts with \"can you\" or \"could y\"," << endl
<< "bye, seeya, goodbye." << endl << endl;
getline(cin, input);
recipient.execute(input);
}