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

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: <5.1.0.14.0.20010507165339.00a7e650@mail.univ.trieste.it>
X-Sender: urban AT mail DOT univ DOT trieste DOT it (Unverified)
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Mon, 07 May 2001 16:54:34 +0200
To: cygwin AT cygwin DOT com
From: Federico Urban <urban AT univ DOT trieste DOT it>
Subject: Fwd: GCC (2.95.3-4) problems
Mime-Version: 1.0

>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?
>
>
>
>--------------------------------------------------------
>Federico URBAN
>Dipartimento di Energetica
>Via Alfonso Valerio, 10
>34100 TRIESTE
>ITALY
>phone: +39 0406763231
>fax: +39 0406763812
>e-mail: urban AT univ DOT trieste DOT it
>--------------------------------------------------------

--------------------------------------------------------
Federico URBAN
Dipartimento di Energetica
Via Alfonso Valerio, 10
34100 TRIESTE
ITALY
phone: +39 0406763231
fax: +39 0406763812
e-mail: urban AT univ DOT trieste DOT it
-------------------------------------------------------- 


--
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