delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/06/03/22:30:03

From: "Alexei A. Frounze" <dummy_addressee AT hotmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: problem with strings and integers
Date: Sun, 3 Jun 2001 22:26:43 -0400
Organization: Global Crossing Telecommunications
Lines: 21
Message-ID: <9ferhj$mek$1@node21.cwnet.roc.gblx.net>
References: <hIBS6.244436$Z2 DOT 2773199 AT nnrp1 DOT uunet DOT ca>
NNTP-Posting-Host: 209-130-218-187.nas1.roc.gblx.net
X-Trace: node21.cwnet.roc.gblx.net 991621491 22996 209.130.218.187 (4 Jun 2001 02:24:51 GMT)
X-Complaints-To: abuse AT gblx DOT net
NNTP-Posting-Date: Mon, 4 Jun 2001 02:24:51 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Steve Reynolds >" <<ireynolds AT odyssey DOT on DOT ca> wrote in message
news:hIBS6.244436$Z2 DOT 2773199 AT nnrp1 DOT uunet DOT ca...
> I'm trying to put an integer into a string because I'm using the allegro
> library function (textout), and that outputs a string into a bitmap and
then
> i blit it onto the screen later. How do i add the variable onto the end of
> the string or put it in a string of its own?

Perhaps by looking through standard C library you can find things like
itoa() and sprintf(). :)

Good Luck
--
Alexei A. Frounze
alexfru [AT] chat [DOT] ru
http://alexfru.chat.ru
http://members.xoom.com/alexfru/
http://welcome.to/pmode/



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019