#include "a_train.h" #include int main() { struct car* train = NULL; train = add_car(train, "Prešov"); train = add_car(train, "Bratislava"); train = add_car(train, "Levoča"); train = add_car(train, "Spišská Nová Ves"); printf("Zostava vlaku:\n"); print_train(train); printf("\nOdstraňujeme vozne s cieľovou stanicou 'Levoča':\n"); train = clear_train(train, "Levoča"); print_train(train); cancel_train(train); return 0; }