Update cv6/a_station.c

This commit is contained in:
Yurii Yakovenko 2024-11-06 21:07:29 +00:00
parent 4c1c1d4842
commit c8aabc50d4

View File

@ -1,3 +1,8 @@
#include <stdio.h>
#include "a_station.h"
#include <stdlib.h>
#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*));