Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!nuug!barsoom!tih From: tih@barsoom.nhh.no (Tom Ivar Helbekkmo) Newsgroups: comp.lang.c Subject: Re: Difference between "char *arr" and "char arr[]" Message-ID: <1990Sep23.120703.6555@barsoom.nhh.no> Date: 23 Sep 90 12:07:03 GMT References: <8103@aggie.ucdavis.edu> <1990Sep22.130345.15450@virtech.uucp> <1990Sep22.221441.4359@barsoom.nhh.no> Organization: Norwegian School of Economics Lines: 16 In a fit of pure idiocy, I wrote: > global unsigned long avail[A,B,C]; and as several people have pointed out already, that's not how you declare a multi-dimensional array in C. *blush* What can I say? I'd just resurfaced after a lot of FORTRAN programming involving arrays, though... Still, I must have been temporarily blind. Thanks to all who took the time to point this out to me! :-) -tih -- Tom Ivar Helbekkmo, NHH, Bergen, Norway. Telephone: +47-5-959205 tih@barsoom.nhh.no, thelbekk@norunit.bitnet, edb_tom@debet.nhh.no