If I have a string:
std::string Pooptacular = "Pooptacular"
and I want to convert it to a char array, I have some options one being:
char* poopCArr = Pooptacular.c_str();
or I can do something with memcpy or strcpy and such.
What I want to know is, which of these methods is the fastest or most efficient. In other words, which method should I use if I were to do this hundreds of thousands of times in one program run?