in Borland 5.0 it says there are colors that blink, but when i use them they only change the background and the text color but they do not blink.
Is that what they meen about blink colors or is there something i need to do to make them blink.
in Borland 5.0 it says there are colors that blink, but when i use them they only change the background and the text color but they do not blink.
Is that what they meen about blink colors or is there something i need to do to make them blink.
I think they meant that the functions are to be used in a loop to actually blink.
-Prelude
My best code is written with the delete key.
Actually, I believe they pretty much just use ANSI-type escaped colors. As such, there is a bit you can set to make the color blink. It's been a great while since I've looked at it, but I think that's what it does.
Quzah.
Hope is the first step on the road to disappointment.
I know that i can put color in a loop to make it change colors
and it looks like it is blinking but that is realy stupid.
ex: code
-----------------------------------------------------------------------------
#include <conio.h>
#include <stdio.h>
#include <windows.h>
void main()
{
int a,b;
for(a=0,b=0;a<25;a++,b++)
{
textcolor(b);
gotoxy(25,12);
cprintf("Hello World");
Sleep(500);
}
getch();
}