15 lines
326 B
C
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
|