🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #14204

Re: How to assign text to a char *buffer ?

#14204
From: Remy Lebeau (TeamB)
Date: Wed, 20 Aug 2003 21:23
17 lines
1480 bytes
"Richard Yu" <richard@colorselector.com> wrote in message
news:3f43e3f5$1@newsgroups.borland.com...
> I have  a text string , like "a string", want to assign into
> a buffer, defined as char* buffer, how to do that ?

What exactly are you referring to when you say "text string"?  Are you
referring to an AnsiString?  A std::string?  Another char*?


Gambit


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.510 / Virus Database: 307 - Release Date: 8/14/03
Technical Details
Message-ID: <3f43f33a$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3f43e3f5$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,80747dfc78851287
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-08-20 15:21:57 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f43e3f5$1@newsgroups.borland.com>
Subject: Re: How to assign text to a char *buffer ?
Date: Wed, 20 Aug 2003 14:23:19 -0700
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 207.175.226.26
Message-ID: <3f43f33a$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1061417786 207.175.226.26 (20 Aug 2003 15:16:26 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail