diff --git a/Interface.cpp b/Interface.cpp index 6a185a4..94adafb 100644 --- a/Interface.cpp +++ b/Interface.cpp @@ -71,7 +71,7 @@ case 4: { cout << "Exiting...\n"; - Sleep(2000); + sleep_for(seconds(2)); goto exit; break; } @@ -203,7 +203,7 @@ } case 4: { std::cout<<"Exiting..."; - Sleep(2000); + sleep_for(seconds(2)); goto exit; break; } break; @@ -383,13 +383,13 @@ if (ver == "YES" | ver == "Yes" | ver == "yes") { std::cout<<"Succes! Changes Saved."; - Sleep(1000); + sleep_for(seconds(1)); return true; } else { std::cout<<"No changes committed."; - Sleep(1000); + sleep_for(seconds(1)); return false; } } diff --git a/_test.db3 b/_test.db3 deleted file mode 100644 index 2339809..0000000 Binary files a/_test.db3 and /dev/null differ diff --git a/headers/Customer.h b/headers/Customer.h index 58ee84b..7e483f8 100644 --- a/headers/Customer.h +++ b/headers/Customer.h @@ -3,7 +3,6 @@ #pragma once #include "Park_time.h" -#include "data.h" #include diff --git a/headers/Interface.h b/headers/Interface.h index 4e4c258..7363c9e 100644 --- a/headers/Interface.h +++ b/headers/Interface.h @@ -1,6 +1,5 @@ #include "Query.h" -#include -#include + using std::cin; diff --git a/headers/Park_time.h b/headers/Park_time.h index a8d035a..8003909 100644 --- a/headers/Park_time.h +++ b/headers/Park_time.h @@ -8,13 +8,10 @@ #include #include - using namespace std::chrono; using std::cout; using std::flush; -using std::string; using std::to_string; -using std::chrono::milliseconds; using std::this_thread::sleep_for; /* diff --git a/park b/park deleted file mode 100755 index 6f8a7fd..0000000 Binary files a/park and /dev/null differ