Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!ukma!nrl-cmf!cmcl2!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn ) Newsgroups: comp.lang.c Subject: Re: getch() and getche() in MSC 4.0 Message-ID: <8776@smoke.BRL.MIL> Date: 27 Oct 88 19:55:25 GMT References: <10508@dartvax.Dartmouth.EDU> <10523@dartvax.Dartmouth.EDU> <236@shockeye.UUCP> <8764@smoke.BRL.MIL> <1737@cbnews.ATT.COM> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 12 In article <1737@cbnews.ATT.COM> lvc@cbnews.ATT.COM (Lawrence V. Cipriani) writes: >A related suggestion... I have a program that makes '_' an alphabetic >by changing _ctype[]. This was a bad idea ... Yeah, I've seen a couple of instances of that. Usually I fix it by simply finding where the macro is used and adding the additional test for '_' there. I've never seen a significant loss of speed thereby. The general principle is to avoid relying on any details of the specific implementation(s). If something is not guaranteed by the spec, it is subject to change even on the same system but certainly across systems.