>Hmmm. I was told that 'int func(void)' means it takes no parameters, >while 'int func()' means it could take any.
As silly as it seems, I think this is part of the ANSI C standard (to allow for older programming styles). Otherwise, there would never have been any need for 'int func(void)'. I think C++ changes this and makes 'int func()' mean the same thing as 'int func(void)'. If you want to pass multiple parameters (eg printf), you can use 'int func(...)' instead. I personally try and avoid the use 'int func()' unless I am compiling a C++ program, where it means no parameters (ie its use is obvious). Brian May