Path: utzoo!utgpu!water!watmath!clyde!att!cbnews!lvc From: lvc@cbnews.ATT.COM (Lawrence V. Cipriani) Newsgroups: comp.lang.c Subject: Re: getch() and getche() in MSC 4.0 Message-ID: <1737@cbnews.ATT.COM> Date: 27 Oct 88 15:26:55 GMT References: <10508@dartvax.Dartmouth.EDU> <10523@dartvax.Dartmouth.EDU> <236@shockeye.UUCP> <8764@smoke.BRL.MIL> Reply-To: lvc@cbnews.ATT.COM (Lawrence V. Cipriani) Organization: AT&T Bell Laboratories, Columbus Lines: 13 In article <8764@smoke.BRL.MIL> gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) writes: >All C implementations should provide toupper() via . ... >Don't use _toupper(), which may not even exist in many implementations. A related suggestion... I have a program that makes '_' an alphabetic by changing _ctype[]. This was a bad idea since 1) the "array" has a different name on different systems, eg. BSD vs. AT&T, and 2) the #define symbols for character class definition, eg. _U vs. _UPPER (in uSoft) vary as well. -- Larry Cipriani, AT&T Network Systems, Columbus OH, cbnews!lvc lvc@cbnews.ATT.COM