🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.upgrade
Article #663

Re: Updated to c++ builder 6.0

#663
From: Ed Mulroy [TeamB]
Date: Tue, 07 Dec 2004 17:37
18 lines
1701 bytes
'string' is a class, not a native array.  The class contains
many elements, one of which is a pointer to the array of
information that you are looking for.  To see the characters
in the array you would need to inspect or look at the
information at the address of the allocated array.

.  Ed

> Kresten Tolstrup wrote in message
> news:41b5b50d$1@newsgroups.borland.com...
>
> I have updated from builder 4.0 to builder 6.0. I use
> string from the STL lib, but in 6.0 the string is empty.
> If I write:
> string s;
> s= "12345";
> and run the code and inspect s, then s is empty, do I
> need to set a flag or something ?
Technical Details
Message-ID: <41b5ea48@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsgate.cistron.nl!feeder1.cambrium.nl!feed.tweaknews.nl!feeder1.essentkabel.com!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <41b5b50d$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10529a,678a6233ff893e9b
X-Google-Attributes: gid10529a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Ed Mulroy [TeamB]" <dont_email_me@bitbuc.ket>
Newsgroups: borland.public.cppbuilder.upgrade
References: <41b5b50d$1@newsgroups.borland.com>
Subject: Re: Updated to c++ builder 6.0
Date: Tue, 7 Dec 2004 12:37:58 -0500
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4807.1700
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700
NNTP-Posting-Host: 24.74.175.102
Message-ID: <41b5ea48@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1102441032 24.74.175.102 (7 Dec 2004 09:37:12 -0800)
X-Authenticated-User: edmulroy
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsgate.cistron.nl!feeder1.cambrium.nl!feed.tweaknews.nl!feeder1.essentkabel.com!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail