-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
28 lines (22 loc) · 676 Bytes
/
main.cpp
File metadata and controls
28 lines (22 loc) · 676 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
// Copyright (c) 2019 Group of Computer Architecture, university of Bremen. All Rights Reserved.
// Filename: main.cpp
// Version 1 09-July-2019
#include "SCmain.h"
int main()
{
string DebugSymbolPath;
cout << "Please enter the Debug Symbol path: ";
cin >> DebugSymbolPath;
ifstream InputFile(DebugSymbolPath.c_str());
ScMain scmain;
bool flag = scmain.find_scmain(InputFile);
if (flag){
cout << "\033[1;32mStarting XML file generation...\033[0m\n";
scmain.print_data_XML ();
cout <<"\033[1;32mXML file is successfully generated!\033[0m\n";
scmain.print_data ();
}
else
cout <<"\033[1;31mUnable to generate XML file!\033[0m\n";
return 0;
}