
代码
文章平均质量分 59
yehexianyun
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
array2d模板类
#ifndef _ARRAY2D_H#define _ARRAY2D_H#include templateclass array2d{// Dataprotected: T **m_ppData;public: long m_lRows, m_lCols;// Constructorpublic: array2d() { Init(原创 2007-04-29 00:28:00 · 931 阅读 · 0 评论 -
关于ECW文件格式读取
<br />http://blog.3snews.net/html/96/6596-27980.html转载 2010-12-06 12:26:00 · 3942 阅读 · 0 评论 -
常用c++库
http://www.qianqinet.com/viewthread.php?tid=152&extra=&page=1转载 2009-08-27 00:55:00 · 401 阅读 · 0 评论 -
FixedString
#ifndef _FIXEDSTRING_H_#define _FIXEDSTRING_H_#include #include #include #include #include #pragma warning (disable: 4996)//固定大小的字符串class FixedString{public: size_t siz原创 2009-08-12 17:54:00 · 1497 阅读 · 0 评论 -
检查一个字符串是否是合法的windows文件名
#include "IsValidFileName.h"///////////////////////////////////////////////////////////////////////////// Strings are only for error display, they are not used by// the IsValidFileName functio转载 2009-04-27 16:18:00 · 3341 阅读 · 0 评论 -
点在多边形内的判断
geos-3.0.3中的代码,扫描线法: /*public static*/boolCGAlgorithms::isPointInRing(const Coordinate& p, const Coordinate::ConstVect& ring){ double xInt; // x intersection of segment with ray int转载 2009-02-23 10:20:00 · 1561 阅读 · 0 评论 -
MemDC.h
#ifndef _MEMDC_H_ #define _MEMDC_H_ ////////////////////////////////////////////////// // CMemDC - memory DC // // Author: Keith Rule // Email: keithr@europa.com // Copyright 1996转载 2008-11-28 01:22:00 · 3574 阅读 · 1 评论 -
CxImage的简单用法
1. 加载、显示、保存CxImage image;image.Load("image.bmp");image.Draw(pDC->m_hDC);image.Save("image.jpg", CXIMAGE_FORMAT_JPG);2. 从内存中加载方法1: CxImage image((BYTE*)buffer,size,image_type);方法原创 2008-11-27 22:35:00 · 1301 阅读 · 0 评论 -
获得函数执行的次数
//GetFuncCallTimes.h#ifndef _GETFUNCCALLTIMES_H#define _GETFUNCCALLTIMES_H#include #include class CGetFuncCallTimes{public: std::map call_count; void Increase(std::string s) {原创 2007-04-29 00:42:00 · 1448 阅读 · 0 评论 -
char*和string, CString的转换
//StrTrans.h#ifndef _STRTRANS_H#define _STRTRANS_H#include using std::string;#include "afx.h"//cstring: CString//str: std::string//cstr: C style stringbool StrTrans(CString& sDes, string sSrc原创 2007-04-29 00:36:00 · 787 阅读 · 0 评论 -
gis开源库
<br />http://www.opensourcegis.org/转载 2011-02-12 18:21:00 · 551 阅读 · 0 评论