Parameters of cin.ignore() are an integer, a number of spaces to ignore. In addition, you may have a delimiting character. Dont use ignore for reading 1 character. As Vadatajs said, use cin.get() or do
char ch;
cin>>ch;
This will get u one character. I personally preffer the latter approach for the sake of effeciency.