#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2003
    Posts
    73
    Rep Power
    12

    converting a string into a charactere array?


    how do you convert a string into a character array?

    thanks
  2. #2
  3. Contributing User
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jan 2003
    Location
    USA
    Posts
    7,145
    Rep Power
    2222
    Check out string's c_str() method, which returns a char* to the string's data.

IMN logo majestic logo threadwatch logo seochat tools logo