// your std stringstd::string myStr = "blah";// Assing your const char pointerconst char *strPtr = myStr.c_str();
then you can use strPtr as you see fit - although it is const so you can't edit it. If you want to edit it just use the myStr var and all the handy overloaded operators!