ah..
This commit is contained in:
parent
eaed9eda90
commit
85a3bd531d
@ -27,11 +27,11 @@ 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("%s",this->value);
|
||||
this=this->next;
|
||||
}
|
||||
//struct car* this=first;
|
||||
// while(this->next!=NULL){
|
||||
// printf("%s",this->value);
|
||||
// this=this->next;
|
||||
//}
|
||||
}
|
||||
|
||||
void cancel_train(struct car* first) {
|
||||
|
Loading…
Reference in New Issue
Block a user