This is the mail archive of the
mailing list for the GCC project.
Sorry for this off-topic about c++ and c
- From: "Thai Dang Vu" <thaid at Cybersoft-VN dot com>
- To: "Gcc-Help (E-mail)" <gcc-help at gcc dot gnu dot org>
- Date: Fri, 8 Mar 2002 16:17:16 +0700
- Subject: Sorry for this off-topic about c++ and c
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.