Init function header
This commit is contained in:
parent
a290788bd3
commit
80a8b001de
15
work1/q3.c
15
work1/q3.c
@ -2,13 +2,26 @@
|
|||||||
#include "stdlib.h"
|
#include "stdlib.h"
|
||||||
#include "string.h"
|
#include "string.h"
|
||||||
|
|
||||||
|
#define DEPOT_SIZE 10
|
||||||
|
|
||||||
struct Bus {
|
struct Bus {
|
||||||
int BusID;
|
int BusID;
|
||||||
int RouteID;
|
int RouteID;
|
||||||
time_t schedule;
|
time_t schedule;
|
||||||
};
|
} Depot[DEPOT_SIZE];
|
||||||
|
|
||||||
|
void createBuses();
|
||||||
|
void printBuses();
|
||||||
|
void scheduleBuses();
|
||||||
|
void alignupBuses();
|
||||||
|
void releaseBuses();
|
||||||
|
void emergency();
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
|
|
||||||
return EXIT_SUCCESS;
|
return EXIT_SUCCESS;
|
||||||
|
}
|
||||||
|
|
||||||
|
void createBuses() {
|
||||||
|
// do something
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user