17%
This commit is contained in:
parent
6bb7453906
commit
23ed4c05da
@ -27,6 +27,11 @@ 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;
|
||||||
|
while(this->next!=NULL){
|
||||||
|
this=this->next;
|
||||||
|
printf(this->value);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void cancel_train(struct car* first) {
|
void cancel_train(struct car* first) {
|
||||||
|
Loading…
Reference in New Issue
Block a user