This commit is contained in:
Oleksandr Vyshniakov 2025-11-04 19:02:10 +01:00
parent 3144b6326c
commit af19fc388a

View File

@ -1,7 +1,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "train.h"
#include "a_train.h"
struct car* add_car (struct car* first, const char* target) {
struct car* novyj_vagon = (struct car*) malloc(sizeof(struct car)); // создаём новый вагон