Initializacia
This commit is contained in:
parent
2e25765e5d
commit
9cd93271e1
@ -23,13 +23,13 @@ struct car* add_car(struct car* first, const char* target) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void print_train(struct car* first) {
|
void print_train(struct car* first) {
|
||||||
// if(first != NULL){
|
if(first != NULL){
|
||||||
// struct car* current = first;
|
struct car* current = first;
|
||||||
// while(current->next != NULL){
|
while(current->next != NULL){
|
||||||
// printf("%s\n", current->value);
|
printf("%s\n", current->value);
|
||||||
// current = current->next;
|
current = current->next;
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void cancel_train(struct car* first) {
|
void cancel_train(struct car* first) {
|
||||||
|
Loading…
Reference in New Issue
Block a user