From: Erik Max Francis Newsgroups: comp.os.msdos.djgpp Subject: Re: Long -> String Date: Fri, 15 Nov 1996 23:02:57 -0800 Organization: Alcyone Systems Lines: 18 Message-ID: <328D6721.16BC5F6F@alcyone.com> References: <328CDB1A DOT 7F2E AT abc DOT se> <328D0F57 DOT 24B5 AT cornell DOT edu> NNTP-Posting-Host: newton.alcyone.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp A. Sinan Unur wrote: > > Is there a library function that convert a long to a string? > > excuse my ignorance, but what is wrong with the ansic c function > sprintf()? There's nothing wrong with sprintf, but it won't help him with what he needs. He needs sscanf, not sprintf. (Though to extend your question, there's nothing wrong with using it -- in fact it's the ANSI C way of doing what he wants.) -- Erik Max Francis | max AT alcyone DOT com Alcyone Systems | http://www.alcyone.com/max/ San Jose, California | 37 20 07 N 121 53 38 W &tSftDotIotE | R^4: the 4th R is respect "But since when can wounded eyes see | If we weren't who we were"