I have a string , i want to give it a blink effect ... is there any specific function for it .

do you know that while loop could help you???

example

int y;

while(! kbhit()){y=random(15);y++;
textcolor(y);printf("BLINK");}


Hope I will be able to help you.

hello Jonnel, welcome to two weeks ago.

instead of a pedantic discussion on your clever use of "while()" .... maybe you can explain where "textcolor()" comes from and how one would implement it on a Win32, linux, unix or os/x platform.

do you know that while loop could help you???

example

int y;

while(! kbhit()){y=random(15);y++;
textcolor(y);printf("BLINK");}


Hope I will be able to help you.

use decimal values more than 128 in textcoloe() fuunction

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.