Usenet.com

www.Usenet.com

Group Index

Comp Thread Archive from Usenet.com

<-- __Chronological__ --> <-- __Thread__ -->

Re: hhx stores 4 bytes, should store 1 byte



On Tue, 25 Nov 2003 16:17:24 -0700, "Bill Bennett"
<[EMAIL PROTECTED]> wrote:

>Ah - thanks, that works. Though I'm curious why the compiler doesn't
>generate calls to xsscanf if that one works.

The compiler will call what you tell it to call.  Someone else might
prefer the behavior of Microsoft's sscanf (there's no accounting for
taste  ;-).

You can force that behavior if you want by adding something like

   #define sscanf xsscanf

in a common header somewhere.  If your code has to work with compilers
other than LCC-Win32, hide it behind an appropriate #ifdef.

Regards,

                               -=Dave
-- 
Change is inevitable, progress is not.



<-- __Chronological__ --> <-- __Thread__ -->


Usenet.com



Please check out one of the premium Usenet Newsgroup Service Providers below for access to Usenet.