string -> char*

Can someone give me actual CODE to convert a string into a char*?
Thanks! I was using c_str, just not correctly.
Topic archived. No new replies allowed.