   cin.getline() wont pause for Input!
  I am having the most unusually annoying error. Read the code below#include <iostream>#include <string.h>using namespace std;#include "CPlayer.h"void CPlayer::WelcomeMessage(){    system("cls");    cout << "Welcome " << m_Name << endl;}void CPlayer::SetPlayerName(){    system("cls");    cout << "Enter the name of your character: ";cin.getline(m_Name, 50, '\n');// WONT PAUSE FOR INPUT}I can't figure this out for the life of me. me->help = true;   
  Put a cin.ignore() before the getline. This happens sometimes when the newline character ends up at the beginning of a stream.   