TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: JABO
from: ANTHONY TIBBS
date: 1998-05-24 18:01:00
subject: outtext();

Jabo wrote in a message to All:
 J> in 320*240 mode, i get input from the user and redisplay it
 J> later on.  Problem is, outtext(); only takes a string and
 J> cant do variables: 
Sure, just use sprintf():
char tempstr [15];
sprintf (tempstr, "%d", x);
outtext (tempstr);
Take care,
Anthony 
---
---------------
* Origin: The Tibbs' Place BBS * Ottawa, ON, Canada (1:163/585.2)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.