My question is how can I ask user to re-enter selection if s/he accidently press enter key in stead of any one of the choice key?

The system should remind the user to re-select such as "It is not a choice please re-select: ". Also what function should be used? I tried to use such as "cin.get(selection)" but cannot get rid of the newline character that is created by pressing the enter key after selected a, b, c or d.

}while((chrChoice!='a')&&(chrChoice!='b')&&(chrChoice!='c')&&(chrChoice!='x')); //compare the response to the list

I usually add an int variable that counts the user's attempts to get it right and exits after x number of cosecutive failures. Also, this is only good if they enter lower case letters. If you want to accept upper and lower case you may want to try adding this:
chrChoice = tolower(chrChoice);
after the cin >> chrChoice; statement.

Kocil, the problem is with not using "old fashioned C" is
>>I have a program in C++
j/k =)

btw, wahdouglaslai, if you want minimal checking then just use cin, i believe cin a char ignores all preceding '\n's.
the problem you had with cin.get() leaving '\n' behind could be resolved by ignore().

void main()
{
cout<<"Please select:\n";
cout<<"a. open account\n";
cout<<"b. update account\n";
cout<<"c. delete account\n";
cout<<"x. exit\n";
char ch;
ch=getch(); // This gets one character from the keyboard and puts it into the ch character
while(ch!='a'||ch!='b'||ch!='c'||ch!='z') //This loop checks to see if the character entered is one of the characters you wanted!
{
cout<<"That was an invalid choice, please select one of the following:\n";
cout<<"a. open account\n";
cout<<"b. update account\n";
cout<<"c. delete account\n";
cout<<"x. exit\n";
ch=getch();
}
cout<<ch;
}

Well, well.... 500 points and everyone's had a go at it! Ok, everybody deserves a chance. Let me have mine!

Since you don't want to go through the trouble of pressing 'Enter' after entering a character, so you can use getche () to read the character. It will also display the character on the screen so that you can see what character you entered (in case you entered an invalid one).

In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…

Written by John Humphreys
C++ Threading and the POSIX Library
This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.
[s…

The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…

The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.