asd
This commit is contained in:
parent
37cad72b8c
commit
aa132d9009
@ -3,8 +3,8 @@
|
||||
#include <string.h>
|
||||
|
||||
struct station* create_station(){
|
||||
struct station* station = (struct station*)calloc(1,sizeof(struct station));
|
||||
station->tracks = (struct car**)calloc(STATION_SIZE, sizeof(struct car*));
|
||||
struct station* station = (struct station*)calloc(1,sizeof(struct station));//create station
|
||||
station->tracks = (struct car**)calloc(STATION_SIZE, sizeof(struct car*));// create kolaje
|
||||
station->track_count = STATION_SIZE;
|
||||
return station;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user