Quote Originally Posted by superbonzo View Post
and VC complains with the "error C2064: term does not evaluate to a function taking 0 arguments" referred to the declaration line ...
Moving the definition below main also prevents the error, though that's probably not a very practical workaround.