2020-08-03 13:22:48 +07:00
|
|
|
#include "stdio.h"
|
|
|
|
#include "stdlib.h"
|
|
|
|
#include "string.h"
|
|
|
|
|
2020-08-03 13:36:14 +07:00
|
|
|
#define DEPOT_SIZE 10
|
|
|
|
|
2020-08-03 13:22:48 +07:00
|
|
|
struct Bus {
|
|
|
|
int BusID;
|
|
|
|
int RouteID;
|
|
|
|
time_t schedule;
|
2020-08-03 13:36:14 +07:00
|
|
|
} Depot[DEPOT_SIZE];
|
|
|
|
|
|
|
|
void createBuses();
|
|
|
|
void printBuses();
|
|
|
|
void scheduleBuses();
|
|
|
|
void alignupBuses();
|
|
|
|
void releaseBuses();
|
|
|
|
void emergency();
|
2020-08-03 13:22:48 +07:00
|
|
|
|
|
|
|
int main() {
|
|
|
|
|
|
|
|
return EXIT_SUCCESS;
|
2020-08-03 13:36:14 +07:00
|
|
|
}
|
|
|
|
|
|
|
|
void createBuses() {
|
|
|
|
// do something
|
2020-08-03 14:31:09 +07:00
|
|
|
|
2020-08-03 13:22:48 +07:00
|
|
|
}
|