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

Recommended Answers

solutions involve using either

#include <conio.h>

or

#include <windows.h>

neither of which are portable. for Linux/Solaris, you would use the

#include <ncurses.h>

library

http://www.blurtit.com/q616731.html

Jump to Post

All 4 Replies

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 learning and sharing knowledge.