convert CEGUI::String to a char array[] or char*
Posted: Wed Apr 27, 2005 03:44
Hi,
I need to grab input from my edit box and set a variable based on that. I have the following in my code:
CEGUI::String ipaddress = ek->window->getText();
I'd like to set ipaddress to either a char* or a char array. How do I accomplish this?
IE: char * ipaddress = ek->window->getText() gives me an error because it's not of type CEGUI::String.
Thanks!
I need to grab input from my edit box and set a variable based on that. I have the following in my code:
CEGUI::String ipaddress = ek->window->getText();
I'd like to set ipaddress to either a char* or a char array. How do I accomplish this?
IE: char * ipaddress = ek->window->getText() gives me an error because it's not of type CEGUI::String.
Thanks!