conio.h

Share:
console input/output functions are stored in the header file conio.h


getch()
this function is used to read a single character from keyboard
Syntax:
int getch() getche()
this function is used to read a single charater from keyboard
Syntax:
int getche(); putch()
this function is used to display a character on the computer screen
Syntax:
int putch(character variable); clrscr()
this function is used to clear the screen and to move the cursor to upper left hand corner of the screen
Syntax:
clrscr(); gotoxy()
this function is used to place the cursor at the desired location on the screen
Syntax:
void gotoxy(int x,int y);
delline
this function is used to delete the line containing the cursor and moves all line below it one line up syntax:
delline();
wherex()
this function is used to find out the horizontal cursor position.
Syntax:
int wherex();

wherey()
this function is used to find out the vertical cursor position
Syntax:
int wherey();

No comments