15 May, 2009

C++ program to scroll a line of text


c++ program to scroll a line of text......
can u scroll a line of text horizontally over the screen.... like in power point
presentations...
here s how i have done it using turbo c++... if u have any new & simple idea...comment

hint: actually we feel the text as scrolling due to the persistence of vision...
what you have to do is
pass1: move the entire text after removing the first character to one position left..
pass2: move the entire text after removing the next character to one position left..
.
.
pass n


// code is follows

0 comments:

Post a Comment

speak out... itz your time !!!

 

Terminal Diary | techblog Copyright © 2009 Gadget Blog is Designed by jintu jacob Powered by Blogger