I would like to know if there is any difference with writing void and
omitting it. They both seem to do the some thing. Furthermore, are
there certain cases where you must write void?
Thanks
Kevin Napoli
unread,
Oct 19, 2011, 8:11:09 AM10/19/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to systemsprogr...@googlegroups.com
I think that you have to specify void when you are declaring a pointer to a function which takes no parameters. Other than that the behavior of your code should be exactly the same, with or without the void.
Joseph Cordina
unread,
Oct 20, 2011, 7:21:00 AM10/20/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to systemsprogr...@googlegroups.com
Specifying (void) or just () is exactly the same
Regards
Joseph Cordina
JG
unread,
Oct 23, 2011, 2:15:06 PM10/23/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message