FlyingCode

导航

 

2018年3月6日

摘要: #include #include #include using namespace std; const char* string2constchar(string s){ shared_ptr tmp (new string(s)); return tmp->c_str(); } int main() { string s = "demo"; ch... 阅读全文
posted @ 2018-03-06 16:54 hhbeast 阅读(257) 评论(0) 推荐(0)