comp.lang.ada
 help / color / mirror / Atom feed
From: Brian May <bam@snoopy.apana.org.au>
Subject: Re: String Problem
Date: Thu, 08 Sep 2005 07:53:44 +1000
Date: 2005-09-08T07:53:44+10:00	[thread overview]
Message-ID: <sa4u0gwpms7.fsf@snoopy.microcomaustralia.com.au> (raw)
In-Reply-To: JFnTe.50568$HM1.1436055@twister1.libero.it

>>>>> "TC" == TC  <tecomeco@inwind.it> 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 <bam@snoopy.apana.org.au>



  parent reply	other threads:[~2005-09-07 21:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-06 21:15 String Problem TC
2005-09-06 21:28 ` Hyman Rosen
2005-09-07 19:33   ` Tapio Marjom�ki
2005-09-07 21:34     ` Ludovic Brenta
2005-09-08 13:25     ` Marc A. Criley
2005-09-08 17:25     ` Martin Krischik
2005-09-07 16:45 ` Martin Krischik
2005-09-07 21:53 ` Brian May [this message]
2005-09-08  1:14   ` Jeffrey R. Carter
2005-09-08  7:23     ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox