[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: thousands separator

From: Gary Ashburn
Subject: Re: thousands separator
Date: Mon, 06 Jul 2009 23:54:52 -0400

   little heart =
   chr 172 if my conversion was successful.
     unsigned char locg;
     locg = loc.currency_symbol;
     printf("decimal_point = %s\n", loc.decimal_point);
     printf("thousands_sep = %s\n", loc.thousands_sep);
     printf("grouping; = %s\n", loc.grouping);
     printf("grouping; = %i\n", locg);
   At 07:02 PM 7/6/2009, Gary Ashburn wrote:

     Thinking about the random responses in the other program I ran this
     several more times from different directories to verify the little heart
     was a constant output.
     it came up the same regardless of where or how many times I ran it
     At 06:20 PM 7/6/2009, Gary Ashburn wrote:

     ~/thoussep> rm a.exe
     ~/thoussep> gcc -mno-cygwin thoussep.c
     ~/thoussep> a.exe
     decimal_point = .
     thousands_sep = ,
     grouping; = ?                               --- this pasted as a question
     mark but displayed on screen as a little heart
     int_curr_symbol; =
     currency_symbol =
     mon_decimal_point =
     mon_thousands_sep =
     mon_grouping =
     positive_sign =
     negative_sign =
     At 03:54 PM 7/6/2009, Eli Zaretskii wrote:

     > Date: Mon, 06 Jul 2009 20:52:40 +0300
     > From: Aharon Robbins <address@hidden>
     > Cc: address@hidden
     > Hi.  Try this program and let us know what you get.
     > I suspect that if you compile it with cygwin that it will work; it
     > would be a better test to compile with djgpp or whatever the gnuwin32
     > project uses.
     The Cygwin compiler can produce MinGW (i.e. native Windows) programs,
     if invoked with the -mno-cygwin switch.  The binary will then use the
     Windows runtime instead of cygwin1.dll.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]