In the project I'm working on now, I refer to a proprietary dynamic library. As soon as I start the initialize library, the behavior of writing and printing numbers changes.
Commas were inserted in every third decimal digit. Those..
cout << 123456789 << endl
used to print 123456789 , and now it prints 123,456,789 . This is terribly annoying because this behavior is not what I want.
After some research, I suspect the problem is localized. I tried to use this line of code after calling the initialize function
setlocale(LC_ALL,"C");
thinking that he can reset my local by default; but to no avail. Commas are saved!
What am I missing?
I posted the following related question on here .
dinkelk
source share