How could I get a normal, non-const char array (c-style string) from a string object? I need this because I have a function that requires a char* (non-const) and using string.c_str() returns a const char*.. The function that requires the char* doesn't appear to be altering the string, but since I haven't written the function, I can't just go and change it.