I'm new to C++, so sorry if this is obvious.
How can I get a character from a number? I have the following code:
for (int i = 0; i < 500; i++) {
cout << i;
}
It's supposed to get the first 500 characters in the Unicode dictionary.
I know that in javascript, it is String.fromCodePoint(i). What's the C++ equivalent?
(char)i? It won't do Unicode. C++ doesn't really know about Unicode.char8_t,char16_t,char32_tand their correspondingstd::u8string,std::u32stringandstd::u32string)