string to char*

Started by
1 comment, last by Blue*Omega 21 years, 10 months ago
How can I convert a C++ string into a character array? Anyone know? ----------------------------- Vash the Stampede "Love & Peace!"
// Tojiart
Advertisement
string str;

str.c_str();

Crispy
"Literally, it means that Bob is everything you can think of, but not dead; i.e., Bob is a purple-spotted, yellow-striped bumblebee/dragon/pterodactyl hybrid with a voracious addiction to Twix candy bars, but not dead."- kSquared
Thanks!


-----------------------------

Vash the Stampede

"Love & Peace!"
// Tojiart

This topic is closed to new replies.

Advertisement