Function definition within function

Nicholas Sherlock n.sherlock@gmail.com
Sun May 2 15:32:00 GMT 2010


On 3/05/2010 2:34 a.m., renato.astorino@hotmail.com wrote:
> Well, I utilize the gcc compiler from the 80s till the present day in various OS environments and
>
> never quite had problems with the definition and use of functions within functions,
>
> so I'm sending in an annex (infpos.c), a function that not only defines a function within another
>
> function as also is the nesting of functions.
>
> Please what is wrong?

See:

http://gcc.gnu.org/onlinedocs/gcc-4.5.0/gcc/Nested-Functions.html#Nested-Functions

Or:

http://tinyurl.com/243vdlm

Cheers,
Nicholas Sherlock



More information about the Gcc mailing list