Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!husc6!harvard!cmcl2!rna!cubsvax!peters From: peters@cubsvax.UUCP (Peter S. Shenkin) Newsgroups: net.lang.c Subject: Re: C vs. FORTRAN (was: What should be added to C) Message-ID: <477@cubsvax.UUCP> Date: Wed, 28-May-86 11:46:28 EDT Article-I.D.: cubsvax.477 Posted: Wed May 28 11:46:28 1986 Date-Received: Fri, 30-May-86 08:46:20 EDT References: <1594@ecsvax.UUCP> Reply-To: peters@cubsvax.UUCP (Peter S. Shenkin) Organization: Columbia Univ. Bio. CG Fac., NY Lines: 13 In article kwh@bentley.UUCP (KW Heuer) writes: >Another advantage of FORTRAN is implicit DO loops in I/O statements, and the >related ability to use (constant, at least) repeat counts in FORMATs. I had >a program that made this painfully clear when it was translated from FORTRAN >to C. 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. Peter S. Shenkin Columbia Univ. Biology Dept., NY, NY 10027 {philabs,rna}!cubsvax!peters cubsvax!peters@columbia.ARPA