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