delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/05/07/11:16:53

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-Id: <4.3.1.2.20010507111355.020438d8@pop.ma.ultranet.com>
X-Sender: lhall AT pop DOT ma DOT ultranet DOT com
X-Mailer: QUALCOMM Windows Eudora Version 4.3.1
Date: Mon, 07 May 2001 11:14:21 -0400
To: Federico Urban <urban AT univ DOT trieste DOT it>, cygwin AT cygwin DOT com
From: "Larry Hall (RFK Partners, Inc)" <lhall AT rfk DOT com>
Subject: Re: Fwd: GCC (2.95.3-4) problems
In-Reply-To: <5.1.0.14.0.20010507165339.00a7e650@mail.univ.trieste.it>
Mime-Version: 1.0

At 10:54 AM 5/7/2001, Federico Urban wrote:

>>Date: Mon, 07 May 2001 11:05:37 +0200
>>To: cygwin AT cygwin DOT com
>>From: Federico Urban <urban AT univ DOT trieste DOT it>
>>Subject: GCC (2.95.3-4) problems
>>
>>The following very simple I/O program compiled with gcc 2.95.3-4 version doesn't work (even if it works correctly with 2.95.3-2 versions)
>>
>>#include <stdio.h>
>>#include <math.h>
>>main()         {
>>FILE *f1;
>>float s1,s2,s3,s4,s5;
>>f1=fopen("inputfile","r");
>>fscanf(f1,"%f %f %f %f %f\n",&s1,&s2,&s3,&s4,&s5);
>>printf("%f %f %f %f %f\n",s1,s2,s3,s4,s5);
>>fclose(f1);
>>}
>>~
>>For example:
>>
>>inputfile:              78.0 -58.56 0.0256 568241.256 457.4146
>>output on screen:       78.000000 5856.000000 256.000000 568241280.000000 4574146.000000
>>
>>I'm using win2K pro SP1. Which could be the causes?
>>


See the mail archives on this subject.



Larry Hall                              lhall AT rfk DOT com
RFK Partners, Inc.                      http://www.rfk.com
118 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019