
C++
jasonyuan18
努力,你会成功的
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
形式参数拷贝
#include #include using namespace std;void mal(char *p){ p=new char[100];}int main(){ char *p=NULL; mal(p); strcpy(p,"this is a test"); cout<<p<<endl;}不知道原创 2014-05-21 17:25:28 · 660 阅读 · 0 评论 -
C++ 类继承/虚继承/多重继承
C++ 中的多重继承,所涉及的类的大小原创 2014-10-02 00:41:21 · 597 阅读 · 0 评论 -
C++一些输出格式控制
1. 输出true、false 而非 1、0原创 2014-10-03 15:51:55 · 1168 阅读 · 0 评论 -
实现STL中的向量 vector
用到数组就会想到对应的可以动态原创 2014-10-04 13:02:27 · 804 阅读 · 0 评论