This commit is contained in:
Džubara 2024-10-24 18:57:01 +02:00
parent a3f63c348e
commit 1fe8245bf7

View File

@ -2,9 +2,7 @@
#define TRAIN_H #define TRAIN_H
#define SIZE 100 #define SIZE 100
/**
* Jeden vozen vlaku
*/
struct car* add_car(struct car* first, const char* target) { struct car* add_car(struct car* first, const char* target) {
// Vytvorenie noveho vozna // Vytvorenie noveho vozna
struct car* new_car = (struct car*)malloc(sizeof(struct car)); struct car* new_car = (struct car*)malloc(sizeof(struct car));