I seem to have forgotten this from my class, what the correct syntax?
Printable View
I seem to have forgotten this from my class, what the correct syntax?
returntype name (type param1, type param2, type param3, ...)
for example
int AddNumbers (int param1, int param2)
{
return param1 + param2;
}
that looks like me code...but yours works...cheers! :D
Check out:
http://www.about.com
to find quick tips for programming
:cool: