Re: convert <int> to <Glib::ustring>



A function I tend to have about:

Glib::ustring itoa(int num){
        std::ostringstream ostr;
        ostr << num;
        Glib::ustring retVal = ostr.str();
        return retVal;
}

Rob


On 16/01/06, Volosatov Alexander <rope-walker yandex ru> wrote:
> How to conver int or double value to Glib::ustring?
> is it possible and how?
>
> Alex.
> _______________________________________________
> 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]