This commit is contained in:
Radovan Kofira 2020-11-05 21:03:48 +01:00
parent eaed9eda90
commit 85a3bd531d

View File

@ -27,11 +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; //struct car* this=first;
while(this->next!=NULL){ // 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) {