This is what i have, but the program doesnt wait for user input after "Name: " which is a bit confusing for me. I've never really used getline before, so am i missing something here? thanks in advanceCode:cout << endl << endl << "What name would you like to store in element " << (list1->pHead->elementNo) + 1 << "?" << endl; cout << "Name: "; getline(cin, input); list1->add(input);