#include%26lt;conio.h%26gt;
#include%26lt;stdio.h%26gt;
#include%26lt;graphics.h%26gt;
#include%26lt;dos.h%26gt;
void main(void)
{
int gdriver;
int gmode;
detectgraph(%26amp;gdriver,%26amp;gmode);
initgraph(%26amp;gdriver,%26amp;gmode,"..\\bgi");
setcolor(14);
line(300,100,300,300);
line(300,300,400,300);
line(400,300,400,100);
line(400,100,300,100);
setfillstyle(9,14);
floodfill(310,120,14);
getch();
}
This is the sourcecode of a rectangle with color yellow,now I want to blink the whole object.
Please help.
Turbo C problem? I want to blink an object.?
The site below is an example of C++ coding for blinking lights.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment