cleaned up imports and using directives

This commit is contained in:
MassiveAtoms 2019-07-23 12:03:49 -03:00
parent 16a20ef6d3
commit 20648487f7
6 changed files with 5 additions and 10 deletions

View File

@ -71,7 +71,7 @@
case 4: { case 4: {
cout << "Exiting...\n"; cout << "Exiting...\n";
Sleep(2000); sleep_for(seconds(2));
goto exit; goto exit;
break; break;
} }
@ -203,7 +203,7 @@
} }
case 4: { case 4: {
std::cout<<"Exiting..."; std::cout<<"Exiting...";
Sleep(2000); sleep_for(seconds(2));
goto exit; goto exit;
break; break;
} break; } break;
@ -383,13 +383,13 @@
if (ver == "YES" | ver == "Yes" | ver == "yes") if (ver == "YES" | ver == "Yes" | ver == "yes")
{ {
std::cout<<"Succes! Changes Saved."; std::cout<<"Succes! Changes Saved.";
Sleep(1000); sleep_for(seconds(1));
return true; return true;
} }
else else
{ {
std::cout<<"No changes committed."; std::cout<<"No changes committed.";
Sleep(1000); sleep_for(seconds(1));
return false; return false;
} }
} }

BIN
_test.db3

Binary file not shown.

View File

@ -3,7 +3,6 @@
#pragma once #pragma once
#include "Park_time.h" #include "Park_time.h"
#include "data.h"
#include <vector> #include <vector>

View File

@ -1,6 +1,5 @@
#include "Query.h" #include "Query.h"
#include <stdlib.h>
#include <synchapi.h>
using std::cin; using std::cin;

View File

@ -8,13 +8,10 @@
#include <ctime> #include <ctime>
#include <thread> #include <thread>
using namespace std::chrono; using namespace std::chrono;
using std::cout; using std::cout;
using std::flush; using std::flush;
using std::string;
using std::to_string; using std::to_string;
using std::chrono::milliseconds;
using std::this_thread::sleep_for; using std::this_thread::sleep_for;
/* /*

BIN
park

Binary file not shown.