Turbo C - Using kbhit, getch and putch functions
kbhit function is useful when you want run your application until a key is pressed. I have used kbhit function in my graphics animation program.
Turbo C Graphics - Using Circle and setcolor, setbkcolor functions
Turbo C Graphics - Using bar and setfillstyle functions
Turbo C Graphics - Using line and setlinestyle functions
getch() reads a character from the keyborad and putch writes a character on the display screen.
Turbo C - Printing characters on the screen
Source Code
Refer to the links provided above.
Output
None
|