#include #include #include #include #include #include "a_station.h" void print_station(struct station* station){ // Vypise celu stanicu printf("station>>>\n"); // Prechadza vsetky trate for (int i = 0 ; i< station->track_count; i++){ struct car* start = station->tracks[i]; struct car* this = start; // Prechadza vsetky vozne while(this != NULL){ printf("%s %d -> ",this->value,this->capacity); this=this->next; } printf("NULL\n"); } printf("<<