I was trying to make text scroll downward, like in the matrix, does anyone have some kind of idea of how to do this?
I was trying to make text scroll downward, like in the matrix, does anyone have some kind of idea of how to do this?
Well, it would depend on the environment you are doing it in.
It is of course on the basic level trivial: You just have to draw letters on various Y coordinates on the screen. But that involves "moving the cursor" and knowing what's where on the screen. You may find that libraries such as "ncurses" will help you.
[This doesn't include the "afterglow" that you see in the Matrix, where the letters leave a trail of "glow" behind - that would definitely require some graphical mechanism, as monitors these days are designed for fast refresh, and not like old times when the manufacturers relied on afterglow to avoid flickering displays].
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.