From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,9901a52b5f698b34 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Newsgroups: comp.lang.ada Subject: Re: String Problem References: From: Brian May MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Date: Thu, 08 Sep 2005 07:53:44 +1000 Message-ID: User-Agent: T-gnus/6.17.2 (based on No Gnus v0.2) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/21.4 (i386-pc-linux-gnu) MULE/5.0 (SAKAKI) Cancel-Lock: sha1:ku2ms2f+mXOTJNOFnVKSK21Kw68= NNTP-Posting-Host: snoopy.microcomaustralia.com.au X-Trace: news.melbourne.pipenetworks.com 1126129943 202.173.153.89 (8 Sep 2005 07:52:23 +1000) X-Complaints-To: abuse@pipenetworks.com X-Abuse-Info: Please forward all headers to enable your complaint to be properly processed. Path: g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!news-feed01.roc.ny.frontiernet.net!nntp.frontiernet.net!newsfeed.media.kyoto-u.ac.jp!snewsf0.syd.ops.aspac.uu.net!news.netspace.net.au!news.melbourne.pipenetworks.com!not-for-mail Xref: g2news1.google.com comp.lang.ada:4512 Date: 2005-09-08T07:53:44+10:00 List-Id: >>>>> "TC" == TC writes: TC> How Inizialize a string to null? How read a string from TC> keyboard until return? What is a "null string"? I have seen a university assignment for the C++ string type that says "on error return a null string" (no: it did not mean "null pointer"). Actually, exceptions may have been a better solution, but exceptions have not been covered yet in that course. So what is a "null string"? Is it the same thing as an "empty string"? -- Brian May