Hey all i've almost completed a fairly large project but am having some strange problems within one of my functions using getline(). After entering the first string the program skips over the rest of the input and prompts for supplier again.
Here's the function:
using namespace std;
int ConstantVariables(ShippingDetails &details)
/* prompt user for input */
cout << " Supplier: ";
ok so i checked around a bit more and the obvious solutoin is to add a getchar() at the beginning of the while loop, however i dont' like the fact that after entering the first string the cursor waits for another key stroke before moving to the next input. Is there any way to remove this?