Hi. I am trying to get input as a string and when I do this code segment:
Code:
    string artist;
    cout << "Enter the artist of the album you wish to delete ->";
    getline (cin, artist);
it displays the prompt but then "Press any key to continue" and exits the program. iostream.h is included. Am I using getline incorrectly?