Re: Help using giomm
- From: Krzesimir Nowak <qdlacz gmail com>
- To: ArbolOne <arbolone gmail com>
- Cc: gtkmm-list <gtkmm-list gnome org>
- Subject: Re: Help using giomm
- Date: Thu, 11 Nov 2010 19:27:49 +0100
On Thu, 2010-11-11 at 11:35 -0500, ArbolOne wrote:
> Hi kids!
> I just need a little bit of help to find my bearing when using giomm. If
> some body would be so kind as to show me how this method would be change
> from std to giomm.
>
> TKNX!!
>
> const char* jme::strtools::toStr( const int x ) {
> std::stringstream num;
> num << x;
> tmp = num.str();
> return tmp.c_str();
> }
Do you realize that this function's result is undefined? And really -
what's is the use of changing it to use Giomm? C++ bindings should
rather strive to use as most of C++ standard library as they can.
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtkmm-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]