自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

ViaskY铸剑阁

记录成长点滴,享受进步乐趣

  • 博客(2)
  • 资源 (6)
  • 收藏
  • 关注

原创 std::auto_ptr 不能赋值 简析

今天试用了下std::auto_ptr, 第一次使用就出错了,尴尬啊,先还原现场:类内声明:Std::auto_ptr m_pWgt;类构造函数内赋值:m_pWgt = new Widget;大概就是这样,编译很顺利通过,一运行,蹦出个run-time error, 错误显示m_pWgt里无对象,于是trace到auto_ptr的赋值构造函数,查看了auto_ptr源码发现问题所在,现将部分源码列出如下:template struct auto_ptr_ref { // proxy referen

2010-09-18 12:28:00 3235 2

原创 wglShareLists使用简介

OpenGL中用到多线程和多render context渲染的时候会用到wglsharelist进行资源共享,本文将对我本人在wglsharelist使用过程中的经验做个小总结:         首先翻译下msdn上对wglsharelist的说明:wglShareLists         wglShareLists函数使多个OpenGL render contexts可以共享一个显示列表空间。     BOOL wglShareLists( HGLR C hglrc1 , // 提

2010-09-09 13:32:00 8086 9

23种设计模式学习笔记

学习设计模式入门的好材料 简单明了,一看就懂 帮助你快速学习或是复习23种设计模式

2011-07-20

python经典书籍

Dive_In_To_Python3.pdf ByteOfPython_chn.pdf Python基础教程(第2版).pdf

2011-07-03

Absolute C++

高清晰版《Absolute C++》 The Analytical Engine has no pretensions whatever to originate anything. It can do whatever we know how to order it to perform. It can follow analysis; but it has no power of anticipating any analytical relations or truths. Its province is to assist us in making available what we are already acquainted with.

2009-08-17

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除