stringw, how to get its guts
Posted: Thu Jul 19, 2007 4:35 pm
Why does stringw have:
c_str
but no
w_str?
How am I supposed to pass its data to a function such as:
font->draw(wchar*....
Whats the point of a wchar wrapper if you can't get to the wchars easily?
I could convert it to a char* and then convert it back to a wchar* with some other function but I would lose all the data that wchar provides wouldn't I?
Am I missing something, I feel so noobish(comming from a java background)
c_str
but no
w_str?
How am I supposed to pass its data to a function such as:
font->draw(wchar*....
Whats the point of a wchar wrapper if you can't get to the wchars easily?
I could convert it to a char* and then convert it back to a wchar* with some other function but I would lose all the data that wchar provides wouldn't I?
Am I missing something, I feel so noobish(comming from a java background)