2015年7月9日

c++ 函数库查询

摘要: http://www.cplusplus.com/reference/algorithm/http://www.enet.com.cn/eschool/video/c++/ 阅读全文

posted @ 2015-07-09 19:01 雨渐渐 阅读(1309) 评论(0) 推荐(0) 编辑

c++ 函数返回指针 及用法

摘要: #include#includeusing namespace std;string fun1(int a){string str = "a";return str;}char* fun2(int a){char *p = new char[2];p[0] = 'a';p[1] = '\0';ret... 阅读全文

posted @ 2015-07-09 16:56 雨渐渐 阅读(263) 评论(0) 推荐(0) 编辑

导航