usaa21/cv4/main.c

20 lines
441 B
C
Raw Normal View History

2021-11-04 17:12:07 +00:00
#include "a_train.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
// Testovaci subor pre vlak
int main(){
struct car* train = NULL;
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);
//clear_train(train,"Levoca");
//print_train(train);
//cancel_train(train);
return 0;
}