Path: utzoo!utgpu!jarvis.csri.toronto.edu!me!radio.astro!helios!dooley From: dooley@helios.toronto.edu (Kevin Dooley) Newsgroups: comp.lang.c Subject: Re: Solution of array of pointers to functions problem Message-ID: <824@helios.toronto.edu> Date: 14 Jun 89 12:53:12 GMT References: <823@helios.toronto.edu> Reply-To: dooley@helios.physics.utoronto.ca (Kevin Dooley) Distribution: na Organization: University of Toronto Physics/Astronomy/CITA Lines: 20 In article <823@helios.toronto.edu> I write: >In a very recent posting I asked why it was illegal to construct >an array of pointers to functions. The answer is, of course, that >it is completely legal, but with a twist. ... I went on to say: > ... the typedef is critical, ie > > double (*functionList[])() = { ... }; > >*DOES**NOT**WORK*. ... Well, as many people have noticed, I was full of beans. Sorry, it works today.... My syntax was shakey when I did this before, now I see the error of my ways. (Head dutifully hung in shame) Kevin Dooley -- Kevin Dooley UUCP - {uunet,pyramid}!utai!helios.physics!dooley Physics Dept. BITNET - dooley@utorphys U. of Toronto INTERNET - dooley@helios.physics.utoronto.ca