会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
花兮
Grow old along with me, the best is yet to be!
博客园
首页
新随笔
联系
管理
订阅
2018年2月23日
c++浅复制和深复制
摘要: #include #include #include using namespace std; //定义结构体类型 typedef struct person { char name[10];//12 char *a_name;//4 } p; //创建结构体实例 p * setPersons() { p *c = (p*)malloc(sizeof(p)); ...
阅读全文
posted @ 2018-02-23 14:43 花兮
阅读(195)
评论(0)
推荐(0)
编辑
公告