Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!samsung!ginosko!aplcen!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.lang.c Subject: Re: ambiguous ? Message-ID: <11420@smoke.BRL.MIL> Date: 27 Oct 89 17:22:57 GMT References: <11398@smoke.BRL.MIL> <14115@lanl.gov> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 11 In article <14115@lanl.gov> jlg@lanl.gov (Jim Giles) writes: >I don't see how. C character strings are null terminated rather >that keeping the length of the string explicitly. Both approaches have their relative advantages and disadvantages. Efficiency depends very much on the specific hardware support; some architectures work quite well with delimited strings and others work better with byte counts. At least with C you have the option of implementing your own counted strings if you prefer them.