On 8/19/06, Shashank kumar <[EMAIL PROTECTED]> wrote: > Does getch function return two values if the input is a special character?
Which compiler? Which environment? getch() is not a standard function and is not available for all compilers (Turbo C++ uses it as part of its conio library, I think Microsoft has something similar but getch() has been deprecated in favor of _getch(), and on Linux getch() is part of the ncurses library). At any rate, as far as I know, this function only returns a single char or single int (depending on the platform and environment), regardless of what is input (even if you do Control-X or something). -- 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]>. Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/c-prog/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
