string to char[]

can someone tell how can I convert a string into a character sequence?Or can i use the getline(cin,...) function for character sequences?
If you are talking about std::string then use the c_str or data members
see the link for more details

http://www.cplusplus.com/reference/string/string/
Topic archived. No new replies allowed.