Why does the program crash?
I don't understand. Earlier in the day, I had this code in my file, it
cout<<"Enter a name:"<<endl;
compiled without error, and the program ran like it should have. Now,
when I try to run it, as soon as it hits the 'cin' line, and the user
hits 'enter' the program crashes. Why, and how do I get around this
P.I.T.A.? Keep in mind that this is of course only the relevant part of the program...