-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.cpp
More file actions
51 lines (36 loc) · 1022 Bytes
/
main.cpp
File metadata and controls
51 lines (36 loc) · 1022 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/*
* main.cpp
*
* Created on: Jul 17, 2014
* Author: tchr
*/
#include<iostream>
#include <time.h>
#include<cstdlib>
#include "randn.h"
#include "benchmarking.h"
//#include "symbol.h"
//#include "constellation.h"
//#include "optimization.h"
//#include "input_files.h"
//#include "noise.h"
#include "console.h"
//#include "boost.h"
#include "permutations.h"
//#include "distances.h"
//#include "QAP.h"
#include "boost_t.h"
using namespace std;
int main ( int argc, char *argv[] ) {
cout<<"-------------------------------------------------------------------------------\n";
cout<<"\tProgramming Communication Software (pcom ver. 0.40) 31 July 2014\n";
cout<<"-------------------------------------------------------------------------------\n";
//myt(10);
srand((unsigned)time(NULL));
//benchmarking();
time_t seconds_start=time(NULL);
console();
cout<<"\n\nTotal running time was "<<(time(NULL)-seconds_start)<<" seconds\n";
// keep_window_open();
return (int)(time(NULL)-seconds_start);
}