cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/11/05:14:59

From: "guthrie" <guthrie AT nbnet DOT nb DOT ca>
Newsgroups: comp.os.msdos.djgpp
Subject: allegro textout
Date: Tue, 10 Aug 1999 09:57:02 -0300
Organization: NBTel Internet
Lines: 27
Message-ID: <7op7if$src$1@garnet.nbnet.nb.ca>
NNTP-Posting-Host: pix142166195035.nbtel.net
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

how can I , if even possible , print a string or char array out to the
screen using the textout  or textout_centre allegro functions?

so far i have only used the functions as follows ::

textout (screen, font , " Rotate Left  " , 300 , 125, color1);

using the string  like that

but what if i want to  use a variable in place of the  " Rotate Left " part
?

do i have to use char[]  or string  ?.... i haven't been able to get string
to work at all and haven't tried the char array yet.

Is this possible or do i have to make a new toextout function?

Thanks

Tony







- Raw text -


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