Conformant Arrays in C

William P. Reeder reeder at ut-emx.UUCP
Sat Feb 27 06:23:46 AEST 1988


In article <1491 at tekcae.TEK.COM>, kurtk at tekcae.TEK.COM (Kurt Krueger) writes:
> Look at "The C Programming Language" by Kernighan & Ritchie on p. 110.  If you
> set up your array like  int *b[10]  you can treat it as a conformal 2-d array
> without having to pass ANY bounds information (except for whatever the
> procedure logic requires).

Since no one else has had the gumption to say it, I will.

Can this discussion continue without cross-posting to comp.lang.fortran?

I know it started out as a discussion of what fortran could learn from
C, but it has long since deviated to be a pure C discussion.

Thanks.



More information about the Comp.lang.c mailing list