Sorry for this off-topic about c++ and c

Thai Dang Vu thaid@Cybersoft-VN.com
Fri Mar 8 01:17:00 GMT 2002


Hello everybody,

I'm using gcc and gcc-c++ on redhat 7.2. Is there any way to convert a
string (declared with string s;) to a char*?

I need it because I have a string (not an array of char) and I want to
print it on a gtk_text widget.

Thanks.



More information about the Gcc-help mailing list