diff --git a/rudict/rudict/noun.cpp b/rudict/rudict/noun.cpp index f764f74..38b2ea6 100644 --- a/rudict/rudict/noun.cpp +++ b/rudict/rudict/noun.cpp @@ -202,9 +202,11 @@ std::cout <<"$$" << UTF16to8(nounNominative.c_str()) << std::endl; std::cout << "count" << frequentWordSet.count(nounNominative) << std::endl; -std::wstring huy = L"баран"; +std::wstring huy = *(frequentWordSet.begin()); -std::cout <<"h" << (int)huy[0] << " " << (int)huy[1] << " " << (int)huy[2] << " " << (int)huy[3] << " " << (int)huy[4] << std::endl; +std::cout << "sizeof"<< sizeof(wchar_t) << std::endl; + +std::cout <<"h" << (int)huy[0] << std::endl; std::cout << "n" << (int)nounNominative[0] << " " << (int)nounNominative[1] << " " << (int)nounNominative[2] << " " << (int)nounNominative[3] << " " << (int)nounNominative[4] << std::endl; if (nounNominative == huy)