El mii, 06-07-2005 a las 13:56 -0400, Michael Shalayeff escribis:
> [...]
> > 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/
      Pagina Personal: http://www.usebox.net/jjm/

Reply via email to