-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.cpp
36 lines (30 loc) · 949 Bytes
/
main.cpp
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
#include <SFML/Graphics.hpp>
#include <iostream>
#include "Windows.h"
using namespace std;
int main(int argc, const char *argv[])
{
cls;
drawStartWindow();
// bookFlight();
// auto a = find_flight_by_departure("UNITED STATES");
// showFlights(a.first, a.second);
// view();
// dum();
// displayTraffic();
// auto flt_data_ = parse_flight();
// flt_data_.traverse(
// [&](string icao, linkedlist_<string> data) -> void {
// print("icao", icao);
// });
// int hrsBefore = 24;
// int interval = 2;
// time_t start = time(nullptr) - (hrsBefore + interval) * 3600;
// time_t end = time(nullptr) - (hrsBefore)*3600;
// fetch_flight({to_string(start), to_string(end)});
// auto airports = parse_flight("estDepartureAirport").Keys();
// for (auto airport : airports)
// print(gt_ct_name(airport), airport);
//drawAllMap();
return 0;
}