Jump to page: 1 2
Thread overview
long string and memory
Feb 25, 2005
jicman
Feb 25, 2005
Paul Bonser
Feb 25, 2005
Matthew
Re:OT: Fancy words.
Feb 25, 2005
Paul Bonser
Feb 25, 2005
Matthew
Re: OT: Fancy words.
Feb 25, 2005
Brad Anderson
Re: OT: Fancy words.
Feb 25, 2005
John Reimer
Feb 25, 2005
Matthew
Feb 25, 2005
John Reimer
Feb 26, 2005
Matthew
Feb 26, 2005
John Reimer
Feb 26, 2005
Walter
Feb 26, 2005
John Reimer
Feb 26, 2005
Andy Knowles
Feb 27, 2005
Manfred Nowak
Feb 26, 2005
jicman
February 25, 2005
Greetings!

I have a program with a function downloads a bunch of xml as one huge string (char[]) and splits that xml into pieces and return a char[][] array.  What happens to that huge string after that function returns the array?

thanks,

josé


February 25, 2005
jicman wrote:
> Greetings!
> 
> I have a program with a function downloads a bunch of xml as one huge string
> (char[]) and splits that xml into pieces and return a char[][] array.  What
> happens to that huge string after that function returns the array?
> 
> thanks,
> 
> josé
> 
> 

If nothing outside the function references the long string, then it is garbage collected.

-- 
-PIB

--
"C++ also supports the notion of *friends*: cooperative classes that
are permitted to see each other's private parts." - Grady Booch
February 25, 2005
Indeed, this is a good example of the type of program for which D will be _the_ superlative language.

"Paul Bonser" <misterpib@gmail.com> wrote in message news:cvntpl$1cc2$1@digitaldaemon.com...
> jicman wrote:
>> Greetings!
>>
>> I have a program with a function downloads a bunch of xml as one huge
>> string
>> (char[]) and splits that xml into pieces and return a char[][] array.
>> What
>> happens to that huge string after that function returns the array?
>>
>> thanks,
>>
>> josé
>>
>>
>
> If nothing outside the function references the long string, then it is garbage collected.
>
> -- 
> -PIB
>
> --
> "C++ also supports the notion of *friends*: cooperative classes that are permitted to see each other's private parts." - Grady Booch



February 25, 2005
Matthew wrote:
> Indeed, this is a good example of the type of program for which D will
> be _the_ superlative language.

Man, if you use words like that in your books, I'm gonna have to be sure to keep a dictionary handy :P

-- 
-PIB

--
"C++ also supports the notion of *friends*: cooperative classes that
are permitted to see each other's private parts." - Grady Booch
February 25, 2005
"Paul Bonser" <misterpib@gmail.com> wrote in message news:cvo141$1fjg$1@digitaldaemon.com...
> Matthew wrote:
>> Indeed, this is a good example of the type of program for which D
>> will
>> be _the_ superlative language.
>
> Man, if you use words like that in your books, I'm gonna have to be sure to keep a dictionary handy :P

I do. And that's one of the mild ones! ;)


February 25, 2005
Ah, Matthew the sesquipedalian author.

BA

Matthew wrote:
> "Paul Bonser" <misterpib@gmail.com> wrote in message news:cvo141$1fjg$1@digitaldaemon.com...
> 
>>Matthew wrote:
>>
>>>Indeed, this is a good example of the type of program for which D will
>>>be _the_ superlative language.
>>
>>Man, if you use words like that in your books, I'm gonna have to be sure to keep a dictionary handy :P
> 
> 
> I do. And that's one of the mild ones! ;) 
> 
> 
February 25, 2005
Matthew wrote:
> "Paul Bonser" <misterpib@gmail.com> wrote in message news:cvo141$1fjg$1@digitaldaemon.com...
> 
>>Matthew wrote:
>>
>>>Indeed, this is a good example of the type of program for which D will
>>>be _the_ superlative language.
>>
>>Man, if you use words like that in your books, I'm gonna have to be sure to keep a dictionary handy :P
> 
> 
> I do. And that's one of the mild ones! ;) 
> 
> 

Matthew likes big words. "Superlative" is indeed a mild one.

I don't think it's always appropriate ;-), but it's good exercise for the brain; I know I'm frequently looking up words on the internet dictionary after reading his posts.

He also likes using slang and colloquial language, the definitions for which I've sometimes never found!

Quite the guy!

:-)

- John R.
February 25, 2005
Honk!

"John Reimer" <brk_6502@yahoo.com> wrote in message news:cvo4p8$1jcg$1@digitaldaemon.com...
> Matthew wrote:
>> "Paul Bonser" <misterpib@gmail.com> wrote in message news:cvo141$1fjg$1@digitaldaemon.com...
>>
>>>Matthew wrote:
>>>
>>>>Indeed, this is a good example of the type of program for which D
>>>>will
>>>>be _the_ superlative language.
>>>
>>>Man, if you use words like that in your books, I'm gonna have to be sure to keep a dictionary handy :P
>>
>>
>> I do. And that's one of the mild ones! ;)
>
> Matthew likes big words. "Superlative" is indeed a mild one.
>
> I don't think it's always appropriate ;-), but it's good exercise for the brain; I know I'm frequently looking up words on the internet dictionary after reading his posts.
>
> He also likes using slang and colloquial language, the definitions for which I've sometimes never found!
>
> Quite the guy!
>
> :-)
>
> - John R.


February 25, 2005
There!  See?  See?  Like that!

Matthew wrote:
> Honk!
> 
> "John Reimer" <brk_6502@yahoo.com> wrote in message news:cvo4p8$1jcg$1@digitaldaemon.com...
> 
>>Matthew wrote:
>>
>>>"Paul Bonser" <misterpib@gmail.com> wrote in message news:cvo141$1fjg$1@digitaldaemon.com...
>>>
>>>
>>>>Matthew wrote:
>>>>
>>>>
>>>>>Indeed, this is a good example of the type of program for which D will
>>>>>be _the_ superlative language.
>>>>
>>>>Man, if you use words like that in your books, I'm gonna have to be sure to keep a dictionary handy :P
>>>
>>>
>>>I do. And that's one of the mild ones! ;)
>>
>>Matthew likes big words. "Superlative" is indeed a mild one.
>>
>>I don't think it's always appropriate ;-), but it's good exercise for the brain; I know I'm frequently looking up words on the internet dictionary after reading his posts.
>>
>>He also likes using slang and colloquial language, the definitions for which I've sometimes never found!
>>
>>Quite the guy!
>>
>>:-)
>>
>>- John R. 
> 
> 
> 
February 26, 2005
FMI: is Honk! a widely recognised thing?

In case it's not: it represents the noise of a goose, for when one, or one's correspondent, is being a goose. It's particularly attractive for the reason that it is impossible to emit a Honk! that contains any malice.



"John Reimer" <brk_6502@yahoo.com> wrote in message news:cvo8ra$1nns$1@digitaldaemon.com...
> There!  See?  See?  Like that!
>
> Matthew wrote:
>> Honk!
>>
>> "John Reimer" <brk_6502@yahoo.com> wrote in message news:cvo4p8$1jcg$1@digitaldaemon.com...
>>
>>>Matthew wrote:
>>>
>>>>"Paul Bonser" <misterpib@gmail.com> wrote in message news:cvo141$1fjg$1@digitaldaemon.com...
>>>>
>>>>
>>>>>Matthew wrote:
>>>>>
>>>>>
>>>>>>Indeed, this is a good example of the type of program for which D
>>>>>>will
>>>>>>be _the_ superlative language.
>>>>>
>>>>>Man, if you use words like that in your books, I'm gonna have to be sure to keep a dictionary handy :P
>>>>
>>>>
>>>>I do. And that's one of the mild ones! ;)
>>>
>>>Matthew likes big words. "Superlative" is indeed a mild one.
>>>
>>>I don't think it's always appropriate ;-), but it's good exercise for the brain; I know I'm frequently looking up words on the internet dictionary after reading his posts.
>>>
>>>He also likes using slang and colloquial language, the definitions for which I've sometimes never found!
>>>
>>>Quite the guy!
>>>
>>>:-)
>>>
>>>- John R.
>>
>> 

« First   ‹ Prev
1 2