Удалить 'main.c'
This commit is contained in:
parent
ef92d74c57
commit
8187be7100
29
main.c
29
main.c
@ -1,29 +0,0 @@
|
|||||||
#include "a_train.h"
|
|
||||||
#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;
|
|
||||||
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user