From: Damian Yerrick Newsgroups: comp.os.msdos.djgpp Subject: Re: Newbie here: How do i convert a number to a string? Organization: Pin Eight Software http://pineight.8m.com/ Message-ID: References: <20000830103233 DOT 2091 DOT qmail AT web509 DOT mail DOT yahoo DOT com> <39aebcee DOT 40162519 AT news DOT wins DOT uva DOT nl> X-Newsreader: Forte Agent 1.7/32.534 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 27 X-Trace: /K49oFI30g4EvKRWBKozoXSNv1VVVEWsSAft+rdEqu9QlaZ26luLRKR001w4jLsSKmruR2PxPcgj!CQn5+tG9RENlBiuGRzinLJkkg1KRhI6UZODESMhlBRxow/VXhLHIEe8x5c2p4GAw3wpbGTVSerYd!ut0= X-Complaints-To: abuse AT gte DOT net X-Abuse-Info: Please be sure to forward a copy of ALL headers X-Abuse-Info: Otherwise we will be unable to process your complaint properly NNTP-Posting-Date: Fri, 01 Sep 2000 01:02:09 GMT Distribution: world Date: Fri, 01 Sep 2000 01:02:09 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On Thu, 31 Aug 2000 22:48:49 GMT, eglebbk AT dds DOT nl (Evert Glebbeek) wrote: >Newsgroup: comp.os.msdos.djgpp > From: Chris Amos > On Wed, 30 Aug 2000 03:32:33 -0700 (PDT) > >>well its because im using allegro's text output functions and all it >>can print is strings. :( > >Use textprintf() instead of textout(). It takes a printf() style >format string and arguements. Truely useful. I'm not sure in what >version of Allegro it was introduced, if it's not in your version you >may have to update. It was in 3.1; I used it in early versions of freepuzzlearena. It's still in 3.9.32/33, the latest version. (.33 is the latest but it breaks "common dll for mingw and m$vc compiled allegro programs" support; I'll use .32 until .34 fixes this). -- MS (n) 1. A debilitating and surprisingly widespread affliction that renders the sufferer barely able to perform the simplest task. 2. A disease, multiple sclerosis (see). This is McAfee VirusScan. Add these two lines to your signature to prevent the spread of signature viruses. http://www.mcafee.com/