Hello everyone,

Just wanted to know how can i blink a text in C/C++. Should use any graphics function. And i'm supposed to use a TC 3.0 :rolleyes:

Re: blink a text?? 80 80

Blinking text in DOS, compiled with Turbo C

#include <conio.h>
#include <stdio.h>
int main()
{
int color;
textattr(128 + 10);
cprintf("This is blinking text\n");
return 0;
}
commented: ..thankz for the info but dli magamit kay dli ma0..?? +0
Re: blink a text?? 80 80

Thanks a lot for the help, it works. But i was just wondering if the same can be done in graphical mode using graphics.h. Any help will be appreciated. Thanks.

Re: blink a text?? 80 80

Blinking text in DOS, compiled with Turbo C

#include <conio.h>
#include <stdio.h>
int main()
{
int color;
textattr(128 + 10);
cprintf("This is blinking text\n");
return 0;
}

Nice copy from the web ;)

Re: blink a text?? 80 80

So...

Re: blink a text?? 80 80

So...

So it's a nice copy from the web :)

Nevermind, just ignore what I said.

Re: blink a text?? 80 80

Hi again,

I just wanted to know if i can blink a text in graphics mode also .. only because i want to set the font size and change font color.

And i think thats ok if it is from the web, atleast somebody is trying to help me out!

Re: blink a text?? 80 80

how to blink output using turbo c++ 4.5

commented: Don't bump old threads +0
Re: blink a text?? 80 80

how to blink output using turbo c++ 4.5

How about you actually read the replies in this thread?

Re: blink a text?? 80 80

how to make a code on blink text using c++?

Re: blink a text?? 80 80

*sigh*

Closed for too much bumping & "gimme codez tooo!!1" replies.

Be a part of the DaniWeb community

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