I'm writing a tool that uses C libraries.
Which means that I have to convert strings into 'const char*'s
So, this is how I think a string is converted into a char:The problem I have now is that my C library functions need a char* not a const char*..Code:const char* c = x.c_str ;
Any suggestions what the best way is to go from a string to a char* ?
Thanks a lot