M
Michael Bell
I am a newbie, and looking through some code which I have been given
as an example of "how to do things right", I see functions like this:-
void FunctionName(void)
but in the function itself, after the "workings" I find :-
return StructName;
}
This seems very strange. It is declared as having no return type, but
yet it is written to return quite a big thing, and plainly the program
won't work unless it does return it. What's the explanation?
Michael Bell
--
as an example of "how to do things right", I see functions like this:-
void FunctionName(void)
but in the function itself, after the "workings" I find :-
return StructName;
}
This seems very strange. It is declared as having no return type, but
yet it is written to return quite a big thing, and plainly the program
won't work unless it does return it. What's the explanation?
Michael Bell
--