0
New C++17 added characters char32_t
and char16_t
, added also 'u16string' and 'u32string', but did not create any way to put them on the console screen.
For example:
int main()
{
std::u16string u16s{ u"meu teste" }; //até aqui tudo bem.
std::cout << u16s << std::endl; //não compila, std::cout não aceita u16string
//não existe std::u16cout nem std::u32cout como existe std::wcout
}
Tried to use
wcout
?– Maniero
yeah, I tried that
– xninja