Mail Archives: djgpp/1998/08/09/15:16:07
Nate Eldredge wrote:
> Einar wrote:
> What the hey? `scanf' is for reading, not writing, so obviously you
> can't write anything using it. Furthermore, it's unlikely to work right
> in a graphics mode; you'll have to use Allegro's features for that.
As long as you are in an 8bbp mode, printf should work fine.
> If you want to put text on the screen, try `sprintf' followed by
> `textout'.
Why not just a printf, or cout? Why call 2 functions when you only need
to call one?
--
(\/) Endlisnis (\/)
s257m AT unb DOT ca
Endlisnis AT GeoCities DOT com
Endlis AT nbnet DOT nb DOT ca
- Raw text -