Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!purdue!ames!ncar!tank!mimsy!chris From: chris@mimsy.UUCP (Chris Torek) Newsgroups: comp.lang.c Subject: Re: Conformant arrays-- how to? Message-ID: <17241@mimsy.UUCP> Date: 2 May 89 22:52:40 GMT References: <4700036@m.cs.uiuc.edu> <13101@paris.ics.uci.edu> Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742 Lines: 21 >In article <4700036@m.cs.uiuc.edu> kenny@m.cs.uiuc.edu writes: >>... proposal to implement conformant arrays of more than one >>dimension in C. ... >> return_type f (int m, /* Number of rows */ >> int n, /* Number of columns */ >> double x [] [n]) /* x is a m x n array */ In article <13101@paris.ics.uci.edu> schmidt@zola.ics.uci.edu (Doug Schmidt) writes: >... GCC ... implements what you are referring to .... It does. >This seems pretty straight-forward to understand and implement, but >might it present problems on some architectures? No. Fortran does the same thing (although it needs all but the *last* dimension, rather than all but the first). -- In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163) Domain: chris@mimsy.umd.edu Path: uunet!mimsy!chris