Re: [gtkmm] Glib::ustring bug?
- From: "Robert J. Hansen" <rjhansen inav net>
- To: Paul Davis <pbd op net>
- Cc: Joe Yandle <jwy divisionbyzero com>, Martin Schulze <MHL Schulze t-online de>, gtkmm-list gnome org
- Subject: Re: [gtkmm] Glib::ustring bug?
- Date: 05 Sep 2002 13:22:00 -0500
> it correct too. however, once you've got the std::string, you then
> need to use std::string::c_str() on it to get the data as a C-style
> string, which is what you wanted to do.
No, it is not what I wanted to do. I was feeding it into a
stringstream, not a c_strstream [*]. Whenever possible, I avoid using
C-style strings--as should, IMO, pretty much every C++ programmer.
[*] A little humor on my part. Yes, I know there's no such beast.
--
Geek Code: GAT d- s+:+ a27 C++(+++)$ ULB++>++++ P++ L+++>++++ E W+ N+ w
PS+ PE++ Y++ PGP++ t+ 5++ X-- R tv b+++ DI++ D--- G+ e++ h*
r* y+*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]