I\'m using Russian locale settings on my PC. If I would set:
class numpunct_withpoint: public numpunct { protected: /// Override the fun
The C library does not use the same locale settings as C++. To override the locale used by printf, use setlocale:
printf
setlocale(LC_NUMERIC, "POSIX");
or similar.