On 8/19/06, Prince Bhanwra <[EMAIL PROTECTED]> wrote:

full form of "getch" is get a character. So it returns only one value and that a char value. By standards it cannot return int. value but some compilers don't give any error or warning and sometime it also works fine. But you should try not to go for it. You may opt for typecasting afterwards, if required results needs to be in int.

By which standards can it not return an int? getch() is not a standard function to begin with...
--
Brett McCoy: Programmer by Day, Guitarist by Night
http://www.alhazred.com
http://www.cassandrasyndrome.com
http://www.revelmoon.com
__._,_.___

To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>.




SPONSORED LINKS
C and c++ Computer programming languages Java programming language
Basic programming language Programming languages


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to