delorie.com/archives/browse.cgi | search |
Date: | Tue, 28 Oct 1997 19:18:12 -0800 (PST) |
Message-Id: | <199710290318.TAA12940@adit.ap.net> |
Mime-Version: | 1.0 |
To: | bigphil AT solutions DOT mb DOT ca (Mark Phillips), djgpp AT delorie DOT com |
From: | Nate Eldredge <eldredge AT ap DOT net> |
Subject: | Re: Newbie allegro graphics question |
At 10:47 10/27/1997 GMT, Mark Phillips wrote: >If I am in graphics mode (any one) and I want to write an integer to >the screen, how do I do it? thanks in advance, You can use sprintf() to convert your number to a string, and then use (if memory serves) text_out() to display it. Btw, I think Allegro 3.0 WIP includes a function to do this in one swell foop :) Nate Eldredge eldredge AT ap DOT net
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |