1
This commit is contained in:
parent
a3f63c348e
commit
1fe8245bf7
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user