what is the usage of getch() function?
how to creat recovery softwear?

Edited by deceptikon: Changed to a more informative title

4 Years
Discussion Span
Last Post by Ancient Dragon

getch() is a predefined function that is used with the header file #include<conio.h> where conio stands for console input and output.This can be used both in c and c++.
Using getch which consists of two words get,ch that is get the character.It is always used at the end of the program,that is used to hold the screen in simple language.,without using this the screen will just flash and goes away.[if we use this the screen will remain with an symbol(-) saying thatit waits to get a char.]Hope you understand.please be clear with the second question.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.