From cec99d22a9f8d067d0fd1bd7ae36b3ed182d150f Mon Sep 17 00:00:00 2001 From: Viktor Daniv Date: Thu, 24 Oct 2024 22:05:33 +0000 Subject: [PATCH] Update cv4/main.c --- cv4/main.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/cv4/main.c b/cv4/main.c index e69de29..48d8f27 100644 --- a/cv4/main.c +++ b/cv4/main.c @@ -0,0 +1,14 @@ +// 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; +}