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
Зареєструйся Зараз
або Підпишись на майбутні тести