954,498 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Help c++ codes please

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

hutzy
Newbie Poster
2 posts since Jul 2011
Reputation Points: 10
Solved Threads: 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.

jogieglenmait
Light Poster
31 posts since Sep 2010
Reputation Points: 10
Solved Threads: 1
 

windows.h will not work with turbo c++ because its too old of a compiler. There are other threads here about the same topic, suggest OP read them.

Ancient Dragon
Retired & Loving It
Team Colleague
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: