help with ustring::erase
- From: "Jamiil Abduqadir" <jalqadir gmail com>
- To: "Gtkmm Mailing List" <gtkmm-list gnome org>
- Subject: help with ustring::erase
- Date: Wed, 19 Dec 2007 20:52:00 -0500
Hello everyone
Can someone tell me how to erase the first character in a string?
...
Glib::ustring str("Hola");
str.erase(1,0); // erase one character at position zero
std::cout << str << std::endl; // ola
with this code I get a run time error, can anybody help?
Thanks
--
Happiness has many doors, and when one of them closes another opens, yet we spent so much time looking at the one that is shut that we don't see the one that just opened.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]