Hey everyone, for a program I am writing, i need to convert a string of the class std::string to a character array. So essentially i need to convert something of the form:

string toBeConverted;

into:

char converted[];

does anyone know if theres a function to do that or a method of doing that?