atom feed20 messages in org.freebsd.freebsd-hackersC programming question
FromSent OnAttachments
MattApr 4, 2005 11:43 am 
Devon H. O'DellApr 4, 2005 11:49 am 
Marc OlzheimApr 4, 2005 11:49 am 
Joerg SonnenbergerApr 4, 2005 11:51 am 
Dan NelsonApr 4, 2005 11:55 am 
Mike MeyerApr 5, 2005 4:50 am 
gilles chehadeApr 5, 2005 4:50 am 
Dunceor .Apr 5, 2005 4:50 am 
ra...@redshift.comApr 5, 2005 5:25 am 
Peter JeremyApr 7, 2005 1:36 am 
Stijn HoopApr 7, 2005 1:39 am 
ra...@redshift.comApr 7, 2005 1:50 am 
ra...@redshift.comApr 7, 2005 1:51 am 
Zera William HolladayApr 7, 2005 7:24 am 
Robert WatsonApr 7, 2005 12:08 pm 
Michael ShalayeffJul 7, 2005 12:08 pm 
chatonJul 7, 2005 12:08 pm 
Juan J. MartínezJul 7, 2005 12:10 pm 
Juan J. MartínezJul 7, 2005 12:10 pm 
Mike MeyerJul 8, 2005 12:25 pm 
Subject:C programming question
From:Juan J. Martínez (reid@usebox.net)
Date:Jul 7, 2005 12:10:50 pm
List:org.freebsd.freebsd-hackers

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