Possible Duplicate:
Convert std::string to const char* or char*
Simple question but I'm new to C++. How do I convert a string to a char * (I read a string from cin then I have a function that operates on char[] so need to get a char *)? Thanks.
 
     
     
    