#include <graphics.h>
#include <conio.h>
#include <dos.h>
#include <stdlib.h>
int main()
{
int gd, gm, i, x, y;
gd = DETECT;
initgraph(&gd, &gm, ":..\\bgi");
while(!kbhit())
{
putpixel(srand(640), srand(480), srand(15)+1);
delay(20);
getch();
}