Update cv4/main.c
This commit is contained in:
parent
5b41f84688
commit
cec99d22a9
14
cv4/main.c
14
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;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user