Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!linus!philabs!cmcl2!seismo!caip!andromeda!njitcccc!ken From: ken@njitcccc.UUCP (Kenneth Ng) Newsgroups: net.lang.c Subject: Re: C vs. FORTRAN (was: What should be added to C) Message-ID: <178@njitcccc.UUCP> Date: Mon, 2-Jun-86 10:46:45 EDT Article-I.D.: njitcccc.178 Posted: Mon Jun 2 10:46:45 1986 Date-Received: Wed, 4-Jun-86 06:54:46 EDT References: <1594@ecsvax.UUCP> <477@cubsvax.UUCP> Organization: NJ Inst of Tech., Newark NJ Lines: 24 In article <477@cubsvax.UUCP>, peters@cubsvax.UUCP (Peter S. Shenkin) writes: > In article kwh@bentley.UUCP (KW Heuer) writes: > > > I agree; on the other hand, what C has over FORTRAN in this regard is the > ability to keep writing on the same line in subsequent calls to printf(); > that is, to *not* insert a newline after WRITEing. Try looking up what the "+" in column 1 does in the format. It supresses the carriage advance. The nestablility of the format enables some very fancy tricks to be used in formating output. In my 18 line fortran game of life I printed the header, put stars around the grid, printed the grid, and did a top of form on every other generation, using one format and one write statement. -- Kenneth Ng: uucp(unreliable) ihnp4!allegra!bellcore!njitcccc!ken bitnet(prefered) ken@njitcccc.bitnet New Jersey Institute of Technology Computerized Conferencing and Communications Center Newark, New Jersey 07102 Vulcan jealousy: "I fail to see the logic in prefering Stonn over me" Number 5: "I need input"