diff --git a/src/Customer.cpp b/src/Customer.cpp index 9b5f2a8..3f54a89 100644 --- a/src/Customer.cpp +++ b/src/Customer.cpp @@ -23,7 +23,7 @@ void Customer::gen_monthly(){ std::cout << "NAME: " << name << " card code: " << card_code << "\n"; std::cout << "-------------------------------------------------\n"; for (auto& i : park_instances) { - // need some logic to only include from this month + // TODO: need some logic to only include from this month std::cout << i; } std::cout << "-------------------------------------------------\n\n"; diff --git a/src/headers/Customer.h b/src/headers/Customer.h index 58589e0..9567bbe 100644 --- a/src/headers/Customer.h +++ b/src/headers/Customer.h @@ -24,7 +24,7 @@ public: string card_code; void clock_in(int s_id); void clock_out(int s_id); - // void gen_weekly(); + // void gen_weekly(); TODO: this void gen_monthly(); Customer(int id_, string name_, string card_code_); diff --git a/src/headers/Park_spot.h b/src/headers/Park_spot.h index e3984cf..83239ee 100644 --- a/src/headers/Park_spot.h +++ b/src/headers/Park_spot.h @@ -12,10 +12,8 @@ class Park_spot { public: int id; bool taken; - Customer* parked; + Customer* parked; //TODO: think about memory management Park_spot(int id_); void clock(Customer* c_customer); private: -}; - - +}; \ No newline at end of file diff --git a/src/headers/Park_time.h b/src/headers/Park_time.h index 5778d31..a35067f 100644 --- a/src/headers/Park_time.h +++ b/src/headers/Park_time.h @@ -31,6 +31,7 @@ public: private: high_resolution_clock::time_point start; high_resolution_clock::time_point end; + //TODO: discuss pros cons of using chrono, ctime, or 3th party lib };