-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathihixs.cpp
More file actions
57 lines (49 loc) · 1.4 KB
/
ihixs.cpp
File metadata and controls
57 lines (49 loc) · 1.4 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
46
47
48
49
50
51
52
53
54
55
56
57
/** \file ihixs.cpp
*
* Main/Entry of the program.
*/
#include "src/higgs/ggf_manager/ggf_manager.h"
#include "src/tools/user_interface.h"
void print_logo();
int main(int argc, char** argv)
{
print_logo();
UserInterface UI;
try
{
UI.ParseInput(argc,argv);
GgfManager run(UI);
}
catch(const char* s)
{
cerr << endl << argv[0] << ": " << s << endl;
}
catch(const string s)
{
cerr << endl << argv[0] << ": " << s << endl;
}
catch(exception &e)
{
cerr << endl << argv[0] << ": " << e.what() << endl;
}
catch(...)
{
cerr<<endl<<"Something went wrong but the exception thrown was not recognized"<<endl;
}
return 0;
}
void print_logo()
{
int vmajor = 2;
int vminor = 0;
cout<<"\n* * * * * * * * * * * * * * * * * * * * * * * * *";
cout<<"\n* *";
cout<<"\n* *";
cout<<"\n* *";
cout<<"\n* ihixs "<<vmajor<<"."<<vminor<<" *";
cout<<"\n* *";
cout<<"\n* *";
cout<<"\n* *";
cout<<"\n* * * * * * * * * * * * * * * * * * * * * * * * *";
cout<<"\n\n";
}