This is the code where I tested the new input statement:
yourname is a string, and since this is the only code block I tried the new method in, this has to be the area where the error is occurring.
cout<<"What is your charater's name?\n";
getline( cin, yourname);
cout<<"Your character's name is "<<yourname<<". Is that okay?\n";
if (choice=="No" || choice=="no" || choice=="NO" || choice=="n" || choice=="N")
cout<<"Ye dead. Better luck next time!\n";