void NewCustInfo(CustData &cust)
{
cout << "Customer Name: ";
getline(cin, cust.name);
}
CustData is a structure that is declared, and the name data member of that struct is of type string. For some reason when I call this function(there are no compile errors), it displays the cout statement, but then completely skips over the getline function. Any ideas?
Thanks