usaa25/du4/a_train.h
2025-11-04 18:59:53 +01:00

15 lines
326 B
C

#ifndef TRAIN_H
#define TRAIN_H
#define SIZE 100
struct car {
char value[SIZE];
struct car* next;
};
struct car* add_car(struct car* first,const char* target);
void print_train(struct car* first);
void cancel_train(struct car* first);
struct car* clear_train(struct car* first,const char* target);
#endif // TRAIN_H