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?