gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

C/C++ > Silly Newbie Question part 3-The saga continues..

#2799 - Saj - Wed Feb 12, 2003 9:08 pm

me again,

just a quick one for you today...

is;

Code:

dog::biscuits()


the same as;

Code:

dog::biscuits(void)


and/or;

Code:

dog::biscuits(0)


Thanks..:)

#2806 - Vortex - Wed Feb 12, 2003 10:34 pm

Saj wrote:
me again,

just a quick one for you today...

is;

Code:

dog::biscuits()


the same as;

Code:

dog::biscuits(void)


and/or;

Code:

dog::biscuits(0)


Thanks..:)


dog::biscuits() is the same as dog::biscuits(void). dog::biscuits(0)
makes no sence. Is that a method declaration or a static method call ?

#2827 - Paul Shirley - Thu Feb 13, 2003 5:15 am

removed

Last edited by Paul Shirley on Sun Mar 28, 2004 9:40 pm; edited 1 time in total

#2839 - Saj - Thu Feb 13, 2003 3:58 pm

Vortex :thanks for clearing that up. It's from a book that I'm learning from but the author keeps changing his habits!

Paul Shirley : Thanks for the link : I've bookmarked it and it's really useful!!

Thanks again guys.