G
Guest
Well, here is my problem, I'm trying to convert an std::string variable to
a char*, when I do
std::string foo = "try something";
char* foo2 = foo.c_str();
an error ocurre, c_str() return a const char* not a char* how can I
resolve this problem, what's the diference between const char* and char* and
how can I obtatin a char*
Thanx in advantage
a char*, when I do
std::string foo = "try something";
char* foo2 = foo.c_str();
an error ocurre, c_str() return a const char* not a char* how can I
resolve this problem, what's the diference between const char* and char* and
how can I obtatin a char*
Thanx in advantage