Prototyping help needed

Guy Harris guy at auspex.UUCP
Thu Feb 23 04:44:21 AEST 1989


>How come the following small program works under Turbo C 1.5 and not under
>Unix?

You mean "...under Turbo C 1.5 but not under the mumblemumblemumble
compiler on UNIX"; there are many many different C compilers under UNIX.
Not all of the latter support function prototyping; if you have one that
doesn't, that's why your program only works when you don't use function
prototyping....



More information about the Comp.lang.c mailing list