This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to pass function names as parameter?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]