Quote
gameBoard* Game::doInput(string player,gameBoard* gb)
{
gb->draw();
string letter;
if (player.compare("îäèí")==O)
letter="X";
else if (player.compare("äâà")==O)
letter="O";
else return gb;
int input1,input2;
do{//А где закрывается этот цикл????
do{
cout<<"\nÈãðîê"<<player.c_str()
<<",ïîæàëóéñòà ââåäèòå íîìåð ðÿäà äëÿ"
<<letter.c_str()<<":";
cin>>input1;
}while(!inRange(input1));
do{
cout<<"\nÈãðîê"<<player.c_str()
<<",ïîæàëóéñòà ââåäèòå íîìåð ðÿäà äëÿ"
<<letter.c_str()<<":";
cin>>input2;
}while(gb->isTaken(input1,input2));
if(player.compare("îäèí")==O)
gb->setX(input1,input2);
else gb->setO(input1,input2);
return gb;
}