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:

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

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.

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 ;)

So...

So...

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

Nevermind, just ignore what I said.

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!

how to blink output using turbo c++ 4.5

commented: Don't bump old threads +0

how to blink output using turbo c++ 4.5

How about you actually read the replies in this thread?

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

*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 developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.