Xref: utzoo comp.lang.c:8399 comp.sys.ibm.pc:13503 Path: utzoo!mnetor!uunet!husc6!uwvax!rutgers!rochester!ur-tut!hwfe From: hwfe@ur-tut (Harlan Feinstein) Newsgroups: comp.lang.c,comp.sys.ibm.pc Subject: Re: C declaration styles Message-ID: <1465@ur-tut.UUCP> Date: 22 Mar 88 02:06:30 GMT References: <5699@watdragon.waterloo.edu> <1065@sask.UUCP> Reply-To: hwfe@tut.cc.rochester.edu.UUCP (Harlan Feinstein) Organization: Univ. of Rochester Computing Center Lines: 25 In article <1065@sask.UUCP> coleman@sask.UUCP (Geoff Coleman @ College of Engineering) writes: >> >> 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. > Sure enough, you shall be surprised. That's Turbo C syntax. It will also accept the more commonly acceptable method of argument syntax, but you have the option of doing it the above way. I use the style illustrated here, as it's easier for me to remember, having done most of my C work with Turbo C. Disclaimer: If what I say seems wrong or offends you, consider this: I'm writing in my own language, not English, and it's coincidence that it looks like English. ------------------------------------------------------------------------------ Exiting the universe without a passport and other offenses punishable by death can be appealed on the second Tuesday of each week. Harlan Feinstein hwfeccss@uorvm.bitnet Student, University of Rochester ------------------------------------------------------------------------------