comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.acm.org>
Subject: Re: Question on array of strings
Date: Thu, 29 Oct 2009 15:58:40 -0700
Date: 2009-10-29T15:58:40-07:00	[thread overview]
Message-ID: <hcd6mc$i0j$1@news.tornevall.net> (raw)
In-Reply-To: <5b1ad377-7f6f-4fdc-9fe7-0aa95cd0bd73@o10g2000yqa.googlegroups.com>

Hibou57 (Yannick Duch�ne) wrote:
> On 29 oct, 22:36, "Jeffrey R. Carter" <spam.jrcarter....@spam.acm.org>
> wrote:
>> You're correct. But first, a probable error:
> He is not at all : his implementation is returning an access to String
> while the function is expected to return a String.

"You're correct" referred to "I think that my code returns the pointer to the 
string and not the string."

-- 
Jeff Carter
"C's solution to this [variable-sized array parameters] has real
problems, and people who are complaining about safety definitely
have a point."
Dennis Ritchie
25



  reply	other threads:[~2009-10-29 22:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-29 20:48 Question on array of strings Peter Mueller
2009-10-29 21:36 ` Jeffrey R. Carter
2009-10-29 21:42   ` Hibou57 (Yannick Duchêne)
2009-10-29 22:58     ` Jeffrey R. Carter [this message]
2009-10-29 21:38 ` Hibou57 (Yannick Duchêne)
2009-10-30  0:12   ` Robert A Duff
2009-10-30  9:10   ` Peter Mueller
2009-10-30 10:14     ` Hibou57 (Yannick Duchêne)
2009-10-29 22:46 ` Gautier write-only
replies disabled

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