From: "A. Sinan Unur" Newsgroups: comp.os.msdos.djgpp Subject: Re: Long -> String Date: Fri, 15 Nov 1996 19:48:23 -0500 Organization: Cornell University Lines: 16 Sender: asu1 AT cornell DOT edu (Verified) Message-ID: <328D0F57.24B5@cornell.edu> References: <328CDB1A DOT 7F2E AT abc DOT se> NNTP-Posting-Host: cu-dialup-0081.cit.cornell.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Henrik DOT Baarnhielm AT abc DOT se To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp > Is there a library function that convert a long to a string? In for > example Turbo C++ 3.0 which I have coded in pretty much, there are ultoa > that converts unsigned long to string and gcvt that converts float to > string. I have looked in the library reference but I can't find > something that does that. excuse my ignorance, but what is wrong with the ansic c function sprintf()? -- ******************************************************************* A. Sinan Unur WWWWWW |--O+O mailto:asu1 AT cornell DOT edu C ^ mailto:sinan AT econ DOT cit DOT cornell DOT edu \ ~/ http://www.bqnet.com/sinan/ *******************************************************************