When I enter in n or y it freezes the program. I am wanting it to recognize Y or N...
cout << "Are these stats acceptable? (Y/N)"<<endl;
gets(yesno);
for( int i = 0; i < 3; ++i ) toupper( yesno[i] );
if (strchr(yesno,'Y')==0)
{
cout << "You are now ready to enter the game. Entering game now..."<<endl;
//enter the game.
};
if (strchr(yesno,'N')==0)
{
cout << "You are very hard to please. Very well. We will roll again."<<endl;