#include #include #include #include char c; unsigned int x,y,tusz,tlo; time_t t; void main(void) { textbackground(BLACK); clrscr(); while ((c=getch())!=27) { srand((unsigned) time(&t)); x=rand()%81; srand((unsigned) time(&t)); y=rand()%26; srand((unsigned) time(&t)); tusz=rand()%16; srand((unsigned) time(&t)+2); tlo=rand()%16; gotoxy(x,y); textcolor(tusz); textbackground(tlo); putch(c); } clrscr(); }