From: Martin Ambuhl Newsgroups: comp.os.msdos.djgpp Subject: Re: s((tr(ing))stream) Date: Thu, 27 May 1999 11:25:20 -0400 Content-Transfer-Encoding: 7bit References: <374D6068 DOT ADC07F3C AT psy DOT kuleuven DOT ac DOT be> X-Posted-Path-Was: not-for-mail X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-ELN-Date: 27 May 1999 15:24:06 GMT X-ELN-Insert-Date: Thu May 27 08:25:09 1999 Organization: Nocturnal Aviation Lines: 21 Mime-Version: 1.0 NNTP-Posting-Host: 1cust202.tnt14.nyc3.da.uu.net Message-ID: <374D63E0.C44B4C48@earthlink.net> X-Mailer: Mozilla 4.6 [en] (Win95; U) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Peter Claessens wrote: > > is non-ANSI, correct? Is there somewhere an file > available for djgpp? Or should I move to egcs? , while deprecated, is very much part of standard C++. "Deprecated" means that you should not rely on it to be in future standards. So far, I haven't seen a for djgpp. > > Am I right to state that using stringstreams is the only convenient way > to convert floating-type numbers to a string representation in ANSI C++, > or am I overlooking some function? You are not right. Not only can you use , but you can always fall back on ssprintf(). -- Martin Ambuhl (mambuhl AT earthlink DOT net) Note: mambuhl AT tiac DOT net will soon be inactive