Is there anyone here that will know why I have to press return twice to get the users input. Using '\n' as third parameter has made know difference. Example code below.
const int MAX_BUFFER=255;
int main()
{
char Buffer[MAX_BUFFER];
cout << "Please enter your name: ";
cin.getline(Name,MAX_BUFFER);
cout << "Your name is " << Name;
return 0;
}