- 博客(21)
- 收藏
- 关注
原创 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
1473
转载 修正fstream在open中文名文件时出错的问题
http://hi.baidu.com/jerry_ma/blog/item/41a02d97be22066a54fb9615.html
2009-05-27 16:54:00
795
转载 log4cplus用法(转)
http://blog.youkuaiyun.com/fan6662000/archive/2008/11/14/3302312.aspx
2009-05-26 19:01:00
554
转载 log4cplus用法(转)
http://blog.sina.com.cn/s/blog_4b134e510100azko.html~type=v5_one&label=rela_prevarticle
2009-05-15 11:21:00
1071
转载 检查一个字符串是否是合法的windows文件名
#include "IsValidFileName.h"///////////////////////////////////////////////////////////////////////////// Strings are only for error display, they are not used by// the IsValidFileName functio
2009-04-27 16:18:00
3316
原创 boost测试——string_algo(zz)
http://blog.chinaunix.net/u/8780/showart_373773.html
2009-04-03 21:43:00
490
转载 一些boost常用的泛型技巧
This is an incomplete survey of some of the generic programming techniques used in the boost libraries.Table of ContentsIntroduction The Anatomy of a Concept Traits Tag Dispatching Adapt
2009-03-12 15:56:00
916
转载 GIS开源程序收集
GIS开源程序收集作者:粟卫民 创建日期:2007-6-11 最后修改:2007-6-22注意:每一个项目包含以下信息:名称主题分类描述开始时间语言许可演示网址项目网址成熟度活跃度评价 分类包括:GIS基础函数库、GIS控件、GIS桌面程序、GIS数据引擎、WEBGIS浏览器端程序、WEBGIS服务器程序、GPS相关
2009-03-12 10:49:00
1331
转载 遥感影像和DEM免费下载网址
1.http://glcfapp.umiacs.umd.edu:8080/esdi/search.jsp2.http://glovis.usgs.gov/3.http://disc.sci.gsfc.nasa.gov/data/datapool/4.http://edc.usgs.gov/products/elevation/gtopo30/hydro/i
2009-03-04 17:16:00
21124
1
原创 Ogre的各种工具类
1. AlignedMemory: 分配按特定字节对齐的内存2. Any3. Bitwise: 位域4. ConfigFile: 配置文件5. Exception: 从std::exception派生的异常类6. FactoryObj: 工厂7. DynLib: 动态库加载8. Log: 日志类9. NumericSolver: 线性方程组解算
2009-02-23 21:43:00
987
转载 点在多边形内的判断
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
1531
转载 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
3555
原创 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
1280
原创 获得函数执行的次数
//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
1427
原创 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
778
原创 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
913
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人