🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c++
Article #596

Re: character array initialization

#596
From: Stephen Clamage
Date: Sun, 18 Nov 1990 01:27
14 lines
1000 bytes
petergo@microsoft.UUCP (Peter GOLDE) writes:

>BTW, just because string initialization of the type mentioned
>is "very rare" in YOUR code, don't think that it's very rare
>in other peoples code.  0 termination is not the best string 
>representation for many applications.

A good point.  Nonetheless, 0 termination is the standard in C.
There is no support anywhere else in the language for strings
which are not 0-terminated.  You have to write special code to
handle them wherever such are used.
-- 

Steve Clamage, TauMetric Corp, steve@taumet.com
Technical Details
Message-ID: <523@taumet.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!att!pacbell.com!mips!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!uunet!taumet!steve
References: <58962@microsoft.UUCP> <513@taumet.com> <59110@microsoft.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watserv1!watmath!att!att!pacbell.com!mips!zaphod.mps.ohio-state.edu!usc!cs.utexas.edu!uunet!taumet!steve
From: steve@taumet.com (Stephen Clamage)
Newsgroups: comp.std.c++
Subject: Re: character array initialization
Message-ID: <523@taumet.com>
Date: 18 Nov 90 01:27:32 GMT
References: <58962@microsoft.UUCP> <513@taumet.com> <59110@microsoft.UUCP>
Organization: Taumetric Corporation, San Diego
Lines: 14