diff --git a/cv5/a_train.c b/cv5/a_train.c index 5df0178..56bc045 100644 --- a/cv5/a_train.c +++ b/cv5/a_train.c @@ -29,7 +29,7 @@ struct car* add_car(struct car* first,const char* target) { void print_train(struct car* first) { struct car* this=first; while(this->next!=NULL){ - printf("%c",this->value); + printf("%s",this->value); this=this->next; } }