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

Recommended Answers

All 2 Replies

#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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.