From 14ef25eb18bf38514d4bd87544ec184cfcfe7c78 Mon Sep 17 00:00:00 2001 From: Yuliia Pikiner Date: Sat, 7 Nov 2020 11:04:10 +0000 Subject: [PATCH] =?UTF-8?q?=D0=A3=D0=B4=D0=B0=D0=BB=D0=B8=D1=82=D1=8C=20'c?= =?UTF-8?q?v6/a=5Fstation.h'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cv6/a_station.h | 51 ------------------------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 cv6/a_station.h diff --git a/cv6/a_station.h b/cv6/a_station.h deleted file mode 100644 index ed0863f..0000000 --- a/cv6/a_station.h +++ /dev/null @@ -1,51 +0,0 @@ -#ifndef TRAIN_H -#define TRAIN_H -#define SIZE 100 - -/** - * Jeden vozen vlaku - */ -struct car { - /** - * Nazov cielovej stanice - */ - char value[SIZE]; - /** - * Smenik na dalsi vozen - */ - struct car* next; -}; - -/** - * Prida vozen na koniec vlaku. - * - * @arg nazov cielovej stanice, ktory sa ma priradit novemu voznu. - * @return smernik na zaciatok vlaku. - */ -struct car* add_car(struct car* first,const char* target); - - -/** - * Vypise vsetky vozne vo vlaku - * - * @arg smernik na prvy vozen - */ -void print_train(struct car* first); - -/** - * Zrusenie vsetkych voznov vo vlaku. - * @arg smernik na prvy vozen - */ -void cancel_train(struct car* first); - -/** - * Vyradenie vsetkych voznov, ktorych cielova stanica je target - * - * @arg smernik na prvy vozen - * @arg cielova stanica, ktora sa ma vyradit z vlaku. - * @return smernik na novy prvy vozen - * - */ -struct car* clear_train(struct car* first,const char* target); - -#endif // TRAIN_H