摘要: #pragma once #include using namespace DuiLib; #ifdef _DEBUG # ifdef _UNICODE # pragma comment(lib, "DuiLib_ud.lib") # else # pragma comment(lib, "DuiLib_d.lib") # endif #else # ... 阅读全文
posted @ 2017-04-09 22:49 Fate0729 阅读(880) 评论(0) 推荐(0)
摘要: //定义所有消息类型 ////////////////////////////////////////////////////////////////////////// #define DUI_MSGTYPE_MENU (_T("menu")) #define DUI_MSGTYPE_LINK ( 阅读全文
posted @ 2017-04-09 21:28 Fate0729 阅读(789) 评论(0) 推荐(0)
摘要: OpenCv的结构和内容 OpenCv源码组成结构其中包括cv, cvauex, cxcore, highgui, ml这5个模块 CV:图像处理和视觉算法 MLL:统计分类器 HighGui:GUI,图像和视频输入输出 CVCORE:包含Opencv的一些基本结构和相关函数 CVAUEX:该模块一 阅读全文
posted @ 2017-04-06 15:00 Fate0729 阅读(1433) 评论(0) 推荐(0)
摘要: 要想使用标准C++中的string类,必须要包含#include <string> 注意是<string>而不是<string.h>,带.h的是C语言中的头文件 string类的构造函数: string(const char *s); //用c字符串s初始化string(int n,char c); 阅读全文
posted @ 2017-04-05 13:58 Fate0729 阅读(308) 评论(0) 推荐(0)
摘要: // 快速排序 void QuickSort(int *pArr, int nLeft, int nRight) { int i = nLeft; int j = nRight; int nCankao = pArr[i]; if (nLeft > nRight) { return; } while (i != j) ... 阅读全文
posted @ 2017-04-04 20:50 Fate0729 阅读(138) 评论(0) 推荐(0)