🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc
Article #42826

Re: scanf problem in TC v2.01.

#42826
From: david.a.klotzbach
Date: Wed, 21 Feb 1990 15:44
12 lines
661 bytes
> 
> ----- to cut ----- or not to cut -----
> main()
> {
>     float f;
	float atof();	/*<--try this and it all works just fine */
>     char *string = "3.1415926";
> 
>     f = atof( string );
>     printf( "pi = %f\n", f );
> }
> ----- be it here ----- or there -----
Technical Details
Message-ID: <13317@cbnewsd.ATT.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!motcsd!motsj1!mcdchg!att!cbnewsd!klotz
References: <204@sdscal.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!motcsd!motsj1!mcdchg!att!cbnewsd!klotz
From: klotz@cbnewsd.ATT.COM (david.a.klotzbach)
Newsgroups: comp.sys.ibm.pc
Subject: Re: scanf problem in TC v2.01.
Message-ID: <13317@cbnewsd.ATT.COM>
Date: 21 Feb 90 15:44:19 GMT
References: <204@sdscal.UUCP>
Organization: AT&T Bell Laboratories
Lines: 12