what are the use of getche()?
can u please give me some example
And what is the use of "#define MAXLETTER " and "#define MAXNUMBER"?
can u....please
Printable View
what are the use of getche()?
can u please give me some example
And what is the use of "#define MAXLETTER " and "#define MAXNUMBER"?
can u....please
getche() is a non-standard function. You can find more information about it by searching the Web.Quote:
what are the use of getche()?
Do you have a specific program in mind, or are you merely asking about macro definitions?Quote:
And what is the use of "#define MAXLETTER " and "#define MAXNUMBER"?
Use getche() if you want to get a character without having to press enter, and you want that letter output to stdout. It's not available on every compiler.
#define is used to redefine certain strings in your code to be replaced with others.
The easiest thing would be to look it up in your book on on the web.