Hello Martin, I guess I don't really understand this question, as decimal points are normally not printed when printing integers. I wonder if maybe you are mistaking the thousands separator for the decimal point, as in different locales, they are switched, something like:
en_AU: decimal point is '.', thousands separator is ',' de_DE: decimal point is ',', thousands separator is '.' (But of course you must know this better than I, since your sig and email address says you are in Germany). If its the thousands separator you are trying to get rid of, then you can do that by setting the "C" locale, something like: const char *localeStr = "C"; std::locale loc(localeStr); std::cout.imbue(loc); Or at least this works with Apache stdcxx, which understands locales. Thanks, Mark On Wed, 28 May 2008 13:44:04 +0200 Martin Scholl <[EMAIL PROTECTED]> wrote: > Hello all, > > > I have unsuccessfully tried to disable the decimal dot that appears > when printing integers. I have tried > > unsetf(std::ios::showpoint), > resetiosflags(std::ios::showpoint) > > as well as combinations of > > std::ios::showpoint | std::ios::fixed | std::ios::scientific > > with virtually every outputstream I could find in HttpReply. > > Can you tell me, how to disable decimal dot printing behaviour? > > > Thank you in advance, > Martin > > > > global infinity GmbH | Tel.: 06421/983004-20 | > Geschaeftsfuehrer: Marcus Brindoepke Gerhard-Jahn-Platz 1 | > Fax: 06421/983004-90 | Amtsgericht Marburg, HRB 5200 35037 > Marburg | Web: www.globalinfinity.de > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Tntnet-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tntnet-general -- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Tntnet-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tntnet-general
