Around 05:26am on Tuesday, September 23, 2008 (UK time), Charles Carroll
scrawled:
> If one has to put a string into a character array (and this program
> does not seem to have a good reason to do so) then .c_str will work.
>
> char blah[8];
> string blah2="Hello";
>
> blah=blah2,c_str();
^
<correcting typo>
blah=blah2.c_str();
</correcting typo>
Steve
--
(o< www.stevesearle.com
//\ Powered by Fedora
V_/_ No MS products were used in the creation of this message
09:07:06 up 39 days, 21:29, 1 user, load average: 0.26, 0.14, 0.04