Mail Archives: djgpp/1997/09/15/05:30:27
| From: | David Jenkins <me AT jenkinsdavid DOT demon DOT co DOT uk>
|
| Newsgroups: | comp.os.msdos.djgpp
|
| Subject: | Re: output of numerals...
|
| Date: | Thu, 11 Sep 1997 01:24:50 +0100
|
| Organization: | None
|
| Distribution: | world
|
| Message-ID: | <e7YYnuASpzF0EwQJ@jenkinsdavid.demon.co.uk>
|
| References: | <01bcbe1d$08dd9680$770760c3 AT default>
|
| NNTP-Posting-Host: | jenkinsdavid.demon.co.uk
|
| MIME-Version: | 1.0
|
| Lines: | 21
|
| To: | djgpp AT delorie DOT com
|
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
In article <01bcbe1d$08dd9680$770760c3 AT default>, Olmeca
<chromes AT hotmail DOT com> writes
>
>How to put out numerals in the 13h mode in DJGPP???
>In textmode it is printf("%d",numeral), but what is it in the graphic
>mode???
Are you talking about Allegro graphics modes??
int foo = 1234;
char txt[100];
sprintf(txt, "Variable foo = %d", foo);
textout(bitmap, font, txt, x, y, colour);
>Thanks for tips...
--
http://www.jenkinsdavid.demon.co.uk for C programmers.
David Jenkins
- Raw text -