From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,45b50f14dadfce5b X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,45b50f14dadfce5b X-Google-Attributes: gid102b75,public X-Google-Thread: 110292,45b50f14dadfce5b X-Google-Attributes: gid110292,public From: brianh@bit3.com Subject: Re: Final kick at the "Merced Guessing Game" Date: 1997/10/09 Message-ID: #1/1 X-Deja-AN: 279061049 References: <61g30t$o2n@news-rocq.inria.fr> <343C34A7.B715A348@tonys.ecology.umn.edu> Organization: Bit 3 Computer Corp Newsgroups: comp.sys.intel,comp.arch,comp.sys.dec In article <343C34A7.B715A348@tonys.ecology.umn.edu>, boo wrote: > >The first time you play with multi-dimensional "arrays" in C, it is >difficult and frustrating. These are much easier in Fortran for the >uninitiated, and Fortran surely is the language of choice for many >scientists and engineers. Once you have understood exactly how to implement >multiple dimensional "arrays" in C efficiently and have gained >some experience, it doesn't "suck" anymore, and you will understand >exactly how flexible C actually is. But it isn't for amateurs, >or for the Ivory Tower Set of this thread. Okay: A) This isn't the first time I've played with multi-dimensional arrays in C. B) I've been programming in C for nigh onto a decade now, and while I do not have the experience of many on this list, I do not consider myself an amateur. C) I've given up trying to be clever and portable and (since I'm using GCC) just started using variable arrays. And found at least one bug in my code because of it (I'm not sure about you, but I do tend to make mistakes) I don't speak for Bit 3. Brian -- "NT and security should never be used in the same breath." - Winn Schwartau, EETimes #972, 22 September 1997 pp.96 -Brian