Microsoft Visual C++ 2017.
The thousands separator is a space in my locale, just checked it in the
Control Panel. Wait, let's recheck ... no, it's not a space, it just
looks like a space, when copy-pasted it appears as char(-96), aka
character code 160. Apparently this has been intended to be the NBSP
character in ISO-Latin-1 or Unicode.
So it appears that although Windows has been internally using Unicode
for at least 20 years they have not yet figured out how to display it in
a console window - and are probably blaming me for, er, something.
BTW, using std::wcout instead of std::cout in the program or renaming
main() to wmain() did not make any difference.
Cheers
Paavo
PS. I'm sure Herb is doing his best but he cannot reinvent the whole
Windows.