Ther is a line:
std::wstring ws(L"Hello world!!!");
However, the function we want to call is declared as
void Print(std::string s);
Which of the following conversions from ws to s must be used to correctly pass the contents of ws to the Print function?

Следи за CodeGalaxy

Мобильное приложение Beta

Get it on Google Play
Обратная Связь
Cosmo
Зарегистрируйся сейчас
или Подпишись на будущие тесты