std::string to char*

std::string ="fsaffaf";

 char *source=&buf[0];

posted @ 2014-05-16 10:02  anjsxz  阅读(168)  评论(0编辑  收藏  举报