almost all internals done after i fix segfault
This commit is contained in:
@ -17,17 +17,13 @@ class Park_spot {
|
||||
Customer* parked;
|
||||
Park_spot();
|
||||
Park_spot(Customer* parked_, int id_, bool taken_);
|
||||
~Park_spot();
|
||||
void
|
||||
clock(Customer* c_customer);
|
||||
void clock(Customer* c_customer);
|
||||
|
||||
private:
|
||||
void
|
||||
save_db();
|
||||
void
|
||||
update_db();
|
||||
void
|
||||
delete_db();
|
||||
int
|
||||
auto_increment_db();
|
||||
};
|
||||
void save_db();
|
||||
void update_db();
|
||||
void delete_db();
|
||||
int auto_increment_db();
|
||||
};
|
||||
|
||||
static vector<Park_spot> parking_spots; // to save the parking spots in memory
|
Reference in New Issue
Block a user