forked from sharvita/Dictionary-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
26 lines (20 loc) · 662 Bytes
/
main.cpp
File metadata and controls
26 lines (20 loc) · 662 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
//Sharvita Paithanakr
#include <sstream>
#include <fstream>
#include "DictEntry.h"
//calls on functions
int main() {
cout<<"-------------------------------------------------------------------------------------------------"<<endl;
cout<<"Dictionary"<<endl;//for the heading which gives it better looks
cout<<"-------------------------------------------------------------------------------------------------"<<endl;
list<DictEntry> words;
Dictionary object;
object.inputFile(words);
object.printList(words);
object.searchForward(words);
object.searchBackward(words);
object.outputFile(words);
//system("pause");
return 0;
//system("pause");
}