Xref: utzoo comp.lang.c:8431 comp.sys.ibm.pc:13529 Path: utzoo!mnetor!uunet!husc6!tut.cis.ohio-state.edu!osu-cis!att-cb!att-ih!ihnp4!bentley!cox From: cox@bentley.UUCP (MH Cox) Newsgroups: comp.lang.c,comp.sys.ibm.pc Subject: Re: C declaration styles Message-ID: <1090@bentley.UUCP> Date: 22 Mar 88 14:47:23 GMT References: <5699@watdragon.waterloo.edu> <1065@sask.UUCP> Reply-To: cox@bentley.UUCP (59463-MH Cox) Organization: AT&T Bell Laboratories, Liberty Corner Lines: 26 In article <1065@sask.UUCP> coleman@sask.UUCP writes: >> Xref: sask comp.lang.c:6877 comp.sys.ibm.pc:10098 >> I need help porting C programs around. >> >> When I write my C functions on my personal computer, my declarations >> are often like this : >> >> void foo(int x, double y) > > Could you please tell us what kind of PC (if not an MS-DOS) >and what kind of compiler you ate using. The above isn't Lattice >or Microsoft and I would be suprised if it is Turbo. It _is_ MSC 5.0, Turbo 1.0, Ecosoft, or any other proposed ANSI C compiler the alternate function declaration form. -- ========================================================================== Michael H. Cox ARPA: cox@garage.nj.att.com AT&T Bell Labs UUCP: ihnp4!bentley!cox 184 Liberty Corner Road COMPU$ERVE: 76525,3703 Rm 3N-D04 Warren, NJ 07060 (201) 580-8622 ==========================================================================