Good day, i'm new in C.. can you give me some idea in how to program a moving cursor in the output screen and highlight the text... because i will use this in my coming final project in school.. we will make a system in TURBO C..
for(k=1;k<=900000;k++);//increasing this value will slow down the cursor speed.
Deciptikon, Ancient Dragon, and student learner... thank you for the reply. When i was surfing in the net i come with this site "http://ascii-table.com/ansi-escape-sequences.php".. this is what i mean.. can you teach me how to do that "ANSI escape" or give some sample program...
to move cursor you need to ch=getch();
then you have to just match ch=='P' or 'K','H','M'
left arrow = K
right arrow = M
up arrow = H
down arrow = P
now use gotoxy(x,y)