2015年4月2日

c++ string char* const char*

摘要: #include #include #include using namespace std;int main(){ { string s = "tom and jerry"; const char* c_s = s.c_str(); cout ... 阅读全文

posted @ 2015-04-02 15:38 雨渐渐 阅读(184) 评论(0) 推荐(0) 编辑

c++ 小片段

摘要: void test_string(){ string sen = "Connection will be closed if there is no " "read/write operations during the last 'idle_timeo... 阅读全文

posted @ 2015-04-02 10:42 雨渐渐 阅读(147) 评论(0) 推荐(0) 编辑

导航