El mié, 06-07-2005 a las 13:56 -0400, Michael Shalayeff escribió:
> [...]
> > Those are declarations of pointers to functions.
> >
> > /* real function */
> > void dumb(int a) { return a; }
>
> warning: `return' with a value, in function returning void
Obviously dumb must return int, not void.
> [...]
> > Any good book about C should cover this. Look for OOP in C also, it's
> > frequent use pointers to functions + structs to add classes to C.
>
> perhaps you should read that book first (:
I'd say I must shut up before answer a mail totally off-topic.
regards,
Juanjo
--
Desarrollo y sistemas: http://www.usebox.net/
Página Personal: http://www.usebox.net/jjm/
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"