70%
This commit is contained in:
parent
0db58c46ff
commit
a078a4f429
@ -29,7 +29,7 @@ struct car* add_car(struct car* first,const char* target) {
|
|||||||
void print_train(struct car* first) {
|
void print_train(struct car* first) {
|
||||||
struct car* this=first;
|
struct car* this=first;
|
||||||
while(this->next!=NULL){
|
while(this->next!=NULL){
|
||||||
printf("%c",this->value);
|
printf("%s",this->value);
|
||||||
this=this->next;
|
this=this->next;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user