Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!utgpu!water!watnot!watmath!clyde!rutgers!brl-adm!brl-sem!ron From: ron@brl-sem.UUCP Newsgroups: comp.lang.c Subject: Re: Value of x? Message-ID: <705@brl-sem.ARPA> Date: Tue, 31-Mar-87 17:57:34 EST Article-I.D.: brl-sem.705 Posted: Tue Mar 31 17:57:34 1987 Date-Received: Fri, 3-Apr-87 00:37:29 EST References: <6570@brl-adm.ARPA> Organization: Electronic Brain Research Lab Lines: 11 In article <6570@brl-adm.ARPA>, @relay.cs.net> writes: > In the Microsoft C compiler V4.0, '\x' is compiled as 0 on the > grounds that it's a brain-damaged version of '\x00'. This is what > Microsoft's support group said when I reported what I thought was a > bug. I claim that '\x' is a perfectly fine representation of the > character x and should have value 120 base 10. How sayeth INFO-C? Neither \x meaning 0 nor \x meaning 'x' is correct. There is no meaning to \x and those who use it are asking for trouble. By your own admission \n should be the character n which we all know is not true.