Node* current = list.head; while (current != NULL) { string item = current->data; current = current->next; . . . }