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