Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!tut.cis.ohio-state.edu!pt.cs.cmu.edu!andrew.cmu.edu!jb3o+ From: jb3o+@andrew.cmu.edu (Jon Allen Boone) Newsgroups: gnu.gcc Subject: foo[n] Message-ID: Date: 4 Feb 90 14:19:08 GMT Organization: Class of '92, Carnegie Mellon, Pittsburgh, PA Lines: 23 Is it true that gcc interprets foo[n] as an array from foo[0] to coo[n]? Someone the other day was having trouble using cc on code that depended on this rumored "feature", saying "well, it works fine with gcc..." I'm curious, since cc calls it foo[0] to foo[n-1] and he said he had to change the declaration to foo[n+2] so that he could get it to work properly under cc. Just curious... iain | jb3o@andrew.cmu.edu(INTERNET) | R746JB3O@cmccvb(BITNET) -------------------------------------------------------------- disclaimer: everything is simply an opinion - it may not be my employer's opinion; in fact, it might not be my opinion ------------------------------------------------------------- Do What Thou Wilt Shall Be The Whole Of The Law Love Is The Law, Love Under Will - Uncle Aleister