getline is overloaded for the string class.Originally Posted by ozzy34
Code:string name; string address; string account; cout << "Input suppliers name: "; getline(cin, name); cout << "Input suppliers address: "; getline(cin, address); cout << "Input suppliers account name: "; getline(cin, account);