qiuri2008

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2015年12月23日

摘要: 实例用法: 创建对象: class U_Ptr smart; U_Ptr* ptr = new U_Ptr(); class U_Ptr smart(new U_Ptr(p)); int *p = new int; //此时指针p指向一个int对象,该对象没有被初始化 int... 阅读全文
posted @ 2015-12-23 11:52 江召伟 阅读(418) 评论(0) 推荐(0) 编辑