39;; break;
default: str [i] = str1 [i];
} + +;
} [strlen (str1)] = ' 0'; temp; = 0; (i
{(str [i])
{'a': temp. push_back ('а'); break; 'b': temp. push_back ('б'); break; 'c': (str [i +1] == 'h') {temp. push_back ('ч'); i + +;} temp. push_back ('з'); break; 'd': temp. push_back ('д'); break; 'f': temp. push_back ('ф'); break; 'e': temp. push_back ('е'); break; 'g': temp. push_back ('г'); break; 'h': temp. push_back ('х'); break; 'i': temp. push_back ('і'); break; 'j': (str [i +1] == 'a') {temp. push_back ('я'); i + +;} temp. push_back ('ї'); break; 'k': temp. push_back ('до'); break; 'l': temp. push_back ('л'); break; 'm': temp. push_back ('м'); break; 'n': temp. push_back ('н'); break; 'o': temp. push_back ('про'); break; 'p': (str [i +1] == 'h') {temp. push_back ('ф'); i + +;} temp. push_back ('п'); break; 'q': temp. push_back ('б'); break; 'r': temp. push_back ('р'); break; 's': (str [i +1] == 'h') {temp. push_back ('ш'); i + +;} temp. push_back ('з'); break; 't': temp. push_back ('т'); break; 'u': temp. push_back ('у'); break; 'v': temp. push_back ('в'); break; 'w': temp. push_back ('р'); break; 'x': break; 'y': temp. push_back ('у'); break; 'z': (str [i +1] == 'h') {temp. push_back ('ж'); i + +;} temp. push_back ('з'); break; '_': temp. push_back (''); break; ''': temp. push_back ('ь'); break;: temp. push_back (str [i]);
} + +;
} * returnStr = new char [temp. size () +1]; (int i = 0; i
{[i] = temp [i];
}
// returnStr [temp. size ()] = '? '; [Temp. size ()] = ' 0'; [0] = toupper (returnStr [0]); (temp. size ()> 8) addspaces (returnStr); return addspaces (str1);
} toguess :: havequestions ()
{(int i = 0; i
{(int j = 0; j
{(Tresponses [i]. idQuest [j]! = '-1') return true;
}
} false;
} toguess :: populatQuestion ()
{maxCount = 0; mid = 0; (int _id = 1; _id <= questions [questions. size () - 1]. id; _id + +)// для ко...