Mail Archives: djgpp/1998/05/27/12:30:30
From: | "jan malina" <jan.malina@{NOSPAM}ping.be>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: "What Allegro function is the same as scanf in text?
|
Date: | Wed, 27 May 1998 18:19:11 +0200
|
Organization: | EUnet Belgium, Leuven, Belgium
|
Lines: | 39
|
Message-ID: | <6kheh1$5tn$1@news3.Belgium.EU.net>
|
References: | <6k4310$2sp$1 AT talia DOT mad DOT ibernet DOT es>
|
NNTP-Posting-Host: | dialup051.gent.eunet.be
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Try this :
#define MAXCHAR // Max nummbers of chars;
unsigned char ch;
int x = 0;
int t = 0;
while (t != MAXCHAR)
x=t*8;
readkey(ch);
text_out(screen,font,ch,x,0,makecol(255,255,255));
x++;
}
or :
unsigned char* ch;
while (t != MAXCHAR)
x=t*8;
readkey(ch);
text_out(screen,font,ch,x,0,makecol(255,255,255));
x++;
}
Jan Malina
JOA heeft geschreven in bericht <6k4310$2sp$1 AT talia DOT mad DOT ibernet DOT es>...
>Hello, when i put text using Allegro and later i want take a answer with
the
>function scanf (I donīt want to use readkey() because donīt see the letters
>when i press) my program donīt work. Why?, what can i do?
>
>
- Raw text -