17%
This commit is contained in:
parent
3ac07444f5
commit
755275c1c9
@ -29,8 +29,9 @@ 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){
|
||||||
this=this->next;
|
|
||||||
printf(this->value);
|
printf(this->value);
|
||||||
|
this=this->next;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user