www.delorie.com/archives/browse.cgi | search |
From: | "Tom" <thomasbd AT erols DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Converting a string to a char * |
Date: | Fri, 24 Dec 1999 21:17:59 -0500 |
Lines: | 19 |
Message-ID: | <8418dn$kge$1@bob.news.rcn.net> |
References: | <840i65$auc$1 AT bob DOT news DOT rcn DOT net> <MPG DOT 12ce1d301f91f34e98b78e AT news DOT freeserve DOT net> |
X-Trace: | wPYZTuxTj9XHg7JpHy++2OLCiOOy62C65B6A65Ab6tIFfWuSIXNsqQ== |
X-Complaints-To: | abuse AT rcn DOT com |
NNTP-Posting-Date: | 25 Dec 1999 01:59:19 GMT |
X-Newsreader: | Microsoft Outlook Express 5.00.2919.6600 |
X-MSMail-Priority: | Normal |
X-Priority: | 3 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2919.6600 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Thanks a lot. It worked like a charm. Tom "Andrew R. Gillett" <arganoid AT fatal-design DOT com> wrote in message news:MPG DOT 12ce1d301f91f34e98b78e AT news DOT freeserve DOT net... > In comp.os.msdos.djgpp, Tom wrote: > > *b = *s.c_str(); > > Change this to: > > strcpy (b, s.c_str()); > > -- > Andrew Gillett http://argnet.fatal-design.com/ ICQ: See homepage > "Your pets may be disembowelled if you do not keep up payments." > - Alexei Sayle
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |