Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!udel!rochester!kodak!ispd-newsserver!ism.isc.com!bud.sos.ivy.isc.com!willcr From: willcr@bud.sos.ivy.isc.com (Will Crowder) Newsgroups: comp.lang.c Subject: Re: declarations using pointers to functions Keywords: declaration, pointers, functions Message-ID: <1991Mar21.174503.17116@ism.isc.com> Date: 21 Mar 91 17:45:03 GMT References: <27514@rouge.usl.edu> <1991Mar20.201937.6088@ux1.cso.uiuc.edu> <11208@dog.ee.lbl.gov> Sender: usenet@ism.isc.com (Ism Usenet News) Reply-To: willcr@ivy.isc.com Followup-To: comp.lang.c Organization: Interactive Systems Corp. Lines: 32 In article <11208@dog.ee.lbl.gov>, torek@elf.ee.lbl.gov (Chris Torek) writes: |> In article <1991Mar20.201937.6088@ux1.cso.uiuc.edu> |> gordon@osiris.cso.uiuc.edu |> (John Gordon) writes: [Actually, I wrote the document in question and posted it several months ago in response to slew of "how do I declare..." questions.] |> > [] as "array of" |> |> Actually, since there are only two cases where the brackets may be empty, |> I would suggest instead reading |> |> [N] as "array N of" |> |> and |> [] as "array ? of" |> |> and NEVER forget the sizes until The Rule allows you to do so. Agreed. However, at the time, I was trying to keep things simple, but you've brought up a valuable point. I think I'll add The Rule (see original article; don't want to quote too much!) to a little C declaration syntax checker I've been hacking, er, uh, working on... :) :) Will -------------------------------------------------------------------------------- Will Crowder, MTS | "I belong to no organized politcal party. (willcr@ivy.isc.com) | I'm a democrat." INTERACTIVE Systems Corp. | -- Will Rogers