1.11M Members

Help c++ codes please

 
-1
 

Ok straight to the point i have to do a code.
The text or the word must have color and it is blinking but the
text color should be automatic changing while it is blinking...
I know how to put color amd make the text blinking but i don't know
how color is automatic changing while it is blinking i have been searching
it could you please give example or teach me... Thanks in advance.!!
Im using turbo c++ 3.0

 
0
 
#include<windows.h>//library

system("color 02");//color
Sleep(1000);       //animation

note: hope this helps. it works with codeblocks. since it uses a windows.h library im sure it will work with turbo.

You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
View similar articles that have also been tagged: