#include "a_station.h" #include #include #include // Печатает всю станцию для отладки void print_station(struct station* station) { printf("station>>>\n"); for (int i = 0; i < station->track_count; i++) { struct car* current = station->tracks[i]; while (current) { printf("%s %d -> ", current->value, current->capacity); current = current->next; } printf("NULL\n"); } printf("<<