I\'m trying to turn a cout command into a getline command in c++.
This is my code that I\'m trying to changes....
for (int count=0; count < numberOfEm
for (int count=0; count < numberOfEmployees; count++)
{
cout << "Name: ";
cin.getline (employees[count].name,100);
cout << "Title: ";
cin.getline (employees[count].title,100);
cout << "SSNum: ";
//error cin.getline (employees[count].SSNum);
cin>>employees[count].SSNum;
cout << "Salary: ";
// error cin.getline( employees[count].Salary);
cin>>employees[count].Salary;
cout << "Withholding Exemptions: ";
//error cin.getline (employees[count].Withholding_Exemptions);
cin>>employees[count]..Withholding_Exemptions;
}