1,105,592 Community Members

Help c++ codes please

Member Avatar
Newbie Poster
2 posts since Jul 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]

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

Member Avatar
Light Poster
32 posts since Sep 2010
Reputation Points: 0 [?]
Q&As Helped to Solve: 1 [?]
Skill Endorsements: 0 [?]

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.

Member Avatar
Ancient Dragon
Achieved Level 70
27,645 posts since Aug 2005
Reputation Points: 5,232 [?]
Q&As Helped to Solve: 3,038 [?]
Skill Endorsements: 115 [?]
Team Colleague

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.

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