Nothing special - I just need to grab a line and slap it into a string -
if(found == 1)
{
cout << "\n\n Please enter a new location for this event: \n";
getline(cin,newAct);
cout << "New Account: " << newAct << endl;
}
else
{
cout << "\nEvent not found\n";
}
eventList[eventSlot].newActivity(newAct);
menu(eventList);
For some reason as soon as it hits this block - it ignores it and just prints New Account - it doesn't even allow me to type in anything - it kinda crappily works (ie: it grabs like the last 3 chars of the entry) if I cin.ignore('\n') a line ahead, but I thought getline didn't need that. So frustrated and so confused -