On 2012-07-17 16:36, Regan Heath wrote:
I believe old-style no parameter function declarations MUST have "void" i.e.int foo(void);
That is still the case, regardless of "style"?
They cannot read: int foo(); The latter MUST have parameters, we just can't tell what they are.
Take a look at this: http://en.wikipedia.org/wiki/K%26R_C#KRCIn that example none of the functions have any parameters declared and are not called with any arguments.
-- /Jacob Carlborg