摘要: #pragma once void RunCrashHandler(); #include "MiniDump.h" #include #include #include #include #pragma comment(lib, "dbghelp.lib") inline BOOL IsDataSectionNeeded(const WCHAR* pModuleName) { ... 阅读全文
posted @ 2017-06-27 09:01 秋月的私语 阅读(601) 评论(0) 推荐(0)
摘要: /* ******* MfcStrFile.h ********** ********* 字符串、文件、目录操作函数声明 ********** */ /* author: autumoon */ #pragma once #ifdef _X86_ #pragma comment(linker,"/manifestdependency:\"type='win32' name='Microso... 阅读全文
posted @ 2017-06-27 09:00 秋月的私语 阅读(347) 评论(0) 推荐(0)
摘要: #pragma once #include #include #include #include class CStdStr { public: CStdStr(); ~CStdStr(); //字符操作 static std::string AddSlashIfNeeded(const std::string strDir, const char& ... 阅读全文
posted @ 2017-06-27 08:59 秋月的私语 阅读(402) 评论(0) 推荐(0)
摘要: #include "opencv.hpp" class Histogram1D{ private: int histSize[1]; //项的数量 float hranges[2]; //像素的最小及最大值 const float *ranges[1]; int channels[1]; //仅用到一个通道 publ... 阅读全文
posted @ 2017-06-26 09:28 秋月的私语 阅读(634) 评论(0) 推荐(0)
摘要: /* ******* GdiplusUserU.h ********** ********* GDI+图像操作函数声明 ********** */ /* author: autumoon */ #pragma once #include //Cstring #include using namespace Gdiplus; #include "StrDirFileU.h"... 阅读全文
posted @ 2017-06-26 09:26 秋月的私语 阅读(273) 评论(0) 推荐(0)
摘要: /* ******* DemReader.h ********** ********* DemReader常用操作函数声明 ********** */ /* author: autumoon */ #pragma once #include "StrDirFileU.h" #include "gdalUser.h" #include #define NoData -99999 type... 阅读全文
posted @ 2017-06-22 15:36 秋月的私语 阅读(293) 评论(0) 推荐(0)
摘要: #pragma once #include #include "ximage.h" #include "ximagif.h" #include "xiofile.h" // TODO: reference any additional headers you need in STDAFX.H // and not in this file #ifdef _DEBUG #pragma com... 阅读全文
posted @ 2017-06-22 15:35 秋月的私语 阅读(302) 评论(0) 推荐(0)
摘要: #include #include #include #include #include #include #include #include #include #define BUF_SIZE 256 int copyFile(const char * pSrc, const char *pDes) { FILE *in_file, *out_file; ... 阅读全文
posted @ 2017-06-22 14:42 秋月的私语 阅读(681) 评论(0) 推荐(0)
摘要: //2015.11.23 #include #include #include #include "Defines.h" #include "OneSeg.h" //定义点 typedef struct _MyPoint { bool flag; double x; double y; _MyPoint(double _x = 0.0, double _... 阅读全文
posted @ 2017-06-22 14:38 秋月的私语 阅读(303) 评论(0) 推荐(0)
摘要: #pragma once #include <direct.h> #include <io.h> #include <string> #include <vector> size_t getFiles(std::string path, std::vector<std::string>& files 阅读全文
posted @ 2017-06-22 14:36 秋月的私语 阅读(177) 评论(0) 推荐(0)