Skip to content

conio.h

Thomas Foster edited this page Apr 10, 2021 · 1 revision

Function Prototypes

Function Name Description
clreol Clears to end of line in text window.
clrscr Clears the text mode window.
delline Deletes line in text window.
gettext Copies text from text mode screen to memory.
gettextinfo Gets text mode video information.
gotoxy Positions cursor in text window.
highvideo Sets high-intensity characters.
insline Inserts a blank line in the text window.
lowvideo Selects low-intensity characters.
movetext Copies text onscreen from one rectangle to another.
normvideo Selects normal-intensity characters.
puttext Copies text from memory to text mode screen.
textattr Sets text attributes.
textbackground Selects new text background color.
textcolor Selects new character color in text mode.
textmode Selects text mode.
wherex Gives horizontal cursor position within text window.
wherey Gives vertical cursor position within text window.
window Defines active text mode window.
cgets Reads string from console.
cprintf Writes formatted output to the screen.
cputs Writes a string to the screen.
getch Gets character from keyboard, does not echo to screen.
getche Gets characters from the console, echoes to screen.
kbhit Checks for currently available keystrokes.
putch Outputs character to screen.
ungetch Pushes a characters back to the keyboard buffer.
mousehit Checks for currently available mouse button presses.
mousex Gives horizontal pixel position of the mouse.
mousey Gives vertical pixel position of the mouse.
getmouse Gets the next available mouse button from the mouse buffer.
textbuffer Get a pointer to the console text buffer.

Header Files

Clone this wiki locally