usaa20/cv6/main.c

30 lines
612 B
C
Raw Normal View History

2020-11-06 20:32:48 +00:00
#include "a_station.h"
2020-11-06 20:30:26 +00:00
#include <stdio.h>
#include <string.h>
// Testovaci subor pre vlak
int main(void){
struct car* train = NULL;
train = add_car(train, "Presov");
train = add_car(train, "Presov");
train = add_car(train, "Presov");
train = add_car(train, "Presov");
train = add_car(train, "Presov");
train = add_car(train, "Presov");
train = add_car(train, "Bratislava");
train = add_car(train, "Levoca");
train = add_car(train, "Spiska Nova Ves");
print_train(train);
train = clear_train(train, "Presov");
print_train(train);
// cancel_train(train);
// print_train(train);
return 0;
}