How to pass function names as parameter?

Walter Kasberg Walter.Kasberg@web.de
Thu Mar 1 08:28:00 GMT 2007


On Wednesday 28 February 2007 19:48, John Love-Jensen wrote:
> Hi Walter,
>
> This isn't doing what you think it is doing:
>
>  rufen ( feins () );
>  rufen ( fzwei () );
>
> You probably wanted:
>
>  rufen ( feins );
>  rufen ( fzwei );
>
> HTH,
> --Eljay
sorry, discard my previous mail.
I made a mistake: I changed the code but did not save the changes and compiled 
the old version.
Thanks, you are right, now it works.

Walter



More information about the Gcc-help mailing list