自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 资源 (1)
  • 收藏
  • 关注

原创 多变行的碰撞

bool SameSide( XPOINT a, XPOINT b, LINESEG l ){ __int64 dx = a.x - b.x; __int64 dy = a.y - b.y; __int64 dx0 = l.start.x - a.x; __int64 dy0 = l.start.y - a.y; __int64 dx1 = l.end.x - b.x;

2009-09-04 14:01:00 295

原创 多变行的碰撞

struct XPOINT{ int x; int y;};struct LINESEG { XPOINT start; XPOINT end;};struct XRECT { int left; int top; int right; int bottom;};#define PI (3.14159265358979

2009-09-04 14:00:00 292

原创 list

template class CList{ struct Node /*: public Object*/ { Type m_data; Node* m_pPrev; Node* m_pNext; Node(const Type& data = Type(), Node* p = 0, Node* n = 0) : m_data(data), m_

2009-09-04 13:43:00 222

原创 com组件类别管理对象枚举

ICatInformationPtr pICatInformation( CLSID_StdComponentCategoriesMgr ); IEnumCLSID* pIEnumCLSID = NULL; GUID CATID_CameraCategory = { 0x1f3a6849, 0xee55, 0x4d4c, { 0xb4, 0x62, 0x9a, 0x4, 0x50, 0xd

2009-08-06 09:55:00 504

原创 yuv422torgb

int table_y[240];int table_ub[256];int table_ug[256];int table_vg[256];int table_vr[256];void InitialTable(){ for (int i = 0; i < 240; ++i) { table_y[i] = 4767*i; table_y[i] =

2009-08-06 09:50:00 537 2

原创 定时器

#include #include #include inline std::string num2str(long i) { char buf[32]; sprintf(buf, "%d", i); return buf;}//////////////////////////////////////////////////////////////

2009-08-06 09:48:00 336

转载 计时类

#include #include namespace std { using ::clock_t; using ::clock; }////////////////////////////////////////////////////////////////////////// 计时类 (单位为秒, 精确到毫秒)/////////////////////////////////////

2009-08-06 09:43:00 285

C++编程规范双语版.chm

本书介绍了C++编程中的基本规范问题 很值得一看

2009-09-21

空空如也

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

TA关注的人

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