Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #7012

Re: what about my array type?

From Keith Thompson <kst-u@mib.org>
Newsgroups comp.lang.c
Subject Re: what about my array type?
Date 2011-06-26 19:30 -0700
Organization None to speak of
Message-ID <lnsjqw9fag.fsf@nuthaus.mib.org> (permalink)
References <4e076731$0$44197$4fafbaef@reader1.news.tin.it> <t7mf07d716olfv14kqcem0dalkhksue6po@4ax.com>

Show all headers | View raw


Barry Schwarz <schwarzb@dqel.com> writes:
> On Sun, 26 Jun 2011 19:08:36 +0200, "io_x" <a@b.c.invalid> wrote:
[...]
>>standard allow there is no unsigned X type with UXINT_MAX=0xFFFFFFFF?
>
> What do you think is the most common value for UINT_MAX on a 32 bit
> machine.

Sure, but the standard does permit implementations for which no unsigned
type has a maximum value of 0xFFFFFFFF (though at least unsigned long
and unsigned long long must have maximum values at least that large).

[...]
>>#define  uns  unsigned
>>
>>// macro for function
>>#define  P  printf
>
> Sorry but as soon as I see this kind of code, I stop reading

As do I.  io_x, if you want anyone to read your code, stop using those
silly macros.  If you don't want anyone to read your code, you might as
well not bother posting it here.

-- 
Keith Thompson (The_Other_Keith) kst-u@mib.org  <http://www.ghoti.net/~kst>
Nokia
"We must do something.  This is something.  Therefore, we must do this."
    -- Antony Jay and Jonathan Lynn, "Yes Minister"

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

what about my array type? "io_x" <a@b.c.invalid> - 2011-06-26 19:08 +0200
  Re: what about my array type? Barry Schwarz <schwarzb@dqel.com> - 2011-06-26 18:38 -0700
    Re: what about my array type? Keith Thompson <kst-u@mib.org> - 2011-06-26 19:30 -0700
    Re: what about my array type? "io_x" <a@b.c.invalid> - 2011-06-27 07:11 +0200
      Re: what about my array type? pete <pfiland@mindspring.com> - 2011-06-27 01:32 -0400
      Re: what about my array type? Keith Thompson <kst-u@mib.org> - 2011-06-26 22:36 -0700
        Re: what about my array type? "io_x" <a@b.c.invalid> - 2011-06-27 10:04 +0200
          Re: what about my array type? Keith Thompson <kst-u@mib.org> - 2011-06-27 08:27 -0700
      Re: what about my array type? Barry Schwarz <schwarzb@dqel.com> - 2011-06-27 06:04 -0700
    Re: what about my array type? "io_x" <a@b.c.invalid> - 2011-06-27 11:11 +0200
  Re: what about my array type? "io_x" <a@b.c.invalid> - 2011-06-27 09:36 +0200
    Re: what about my array type? Barry Schwarz <schwarzb@dqel.com> - 2011-06-27 06:04 -0700

csiph-web