Hi. >I tried adding escape sequences but the windows console does not >interpret the escape sequences. It just prints a left arrow char >when it sees an escape char. It seems the console is _not_ ANSI >compatible! I cannot find any mention of cursor-placing functions >such as gotoxy() in the on-line help. > >Anybody know how to place the text in a Visual C console app console? With the Borland tools at least, I see that gotoxy() is defined in conio.h. Maybe you've got a similiar header file? Here's an example: #include #include int main() { textbackground(0); // black background while (!kbhit()) { textcolor(rand()%256); gotoxy(rand()%80, rand()%25); cprintf("Hey!"); } getch(); clrscr(); return 0; } newell