Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!sdd.hp.com!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!ux1.cso.uiuc.edu!tank!gargoyle!igloo!ddsw1!obdient!vpnet!akcs.fish From: akcs.fish@vpnet.chi.il.us (Gil Winograd) Newsgroups: comp.lang.c Subject: Re: Re^2: Why does C hate 2d arrays? Message-ID: <265e1de4-26d.17comp.lang.c-1@vpnet.chi.il.us> Date: 26 May 90 09:55:04 GMT References: <990@s6.Morgan.COM> Lines: 8 Recently I had to write C code to handle a data structure which consisted of *variably dimensioned* AND *variable size per dimension* arrays. Of course, it was implemented as a one-dimensional array, through which I had to go through involved calculations to get the index right ! (Especially when doing loops through some of the dimensions but not others...) Does Algol/Pascal handle this situation any better? -* Gil