Re: [Dev-C++] C++ string to C style char string
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: nada <na...@ca...> - 2003-02-14 21:14:14
|
> > I hope someone can help me. I would like to know if there is > > a function, that turns a C++ string, into a null terminated > > C-style character string. Use the .c_str() function. Example: theStr.c_str() <rb> -- Timing has an awful lot to do with the outcome of a rain dance. |