I am currently working on a progect and I can figure somthing out. I wasnt going to post the mass amout of code I have so I wrote a small sample program with the same problem. Here is the codeMy problem is that the second iteration of the loop it skips over the getline and does not let me enter a new name.Code:#include <iostream> #include <string> using namespace std; int main() { string name; char continueIt = 'Y'; while(continueIt == 'Y') { cout << "Enter Name: "; getline(cin, name); cout << name; cout << "\nContinue(Y/N): "; cin >> continueIt; } }