Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site umcp-cs.UUCP Path: utzoo!watmath!clyde!burl!ulysses!gamma!exodus!mhtsa!mh3bs!eagle!harpo!seismo!rlgvax!cvl!umcp-cs!chris From: chris@umcp-cs.UUCP Newsgroups: net.lang.c Subject: Re: sizeof "string" Message-ID: <5021@umcp-cs.UUCP> Date: Tue, 7-Feb-84 19:46:29 EST Article-I.D.: umcp-cs.5021 Posted: Tue Feb 7 19:46:29 1984 Date-Received: Fri, 10-Feb-84 02:37:04 EST References: <4964@umcp-cs.UUCP> <976@proper.UUCP> Organization: Univ. of Maryland, Computer Science Dept. Lines: 12 Ok, so "\9\8\7" is a bit weird. (It just happens to work though.) But in fact you might want to put a \0 in a real string. How about a new example: char translate[] = "these\0those\0this\0that\0"; The two "\0"s in a row are an end marker. Someone might then write something to translate words ("these" => "those", "this" => "that"). -- In-Real-Life: Chris Torek, Univ of MD Comp Sci UUCP: {seismo,allegra,brl-bmd}!umcp-cs!chris CSNet: chris@umcp-cs ARPA: chris.umcp-cs@CSNet-Relay