<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[李秀国的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/layer781010</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; layer781010]]></copyright><item><title><![CDATA[bmp 文件格式]]></title><link>https://blog.csdn.net/layer781010/article/details/20374269</link><guid>https://blog.csdn.net/layer781010/article/details/20374269</guid><author>layer781010</author><pubDate>Mon, 03 Mar 2014 14:50:55 +0800</pubDate><description><![CDATA[转自：http://www.cnblogs.com/lzlsky/archive/2012/08/16/2641698.html




BITMAPFILEHEADER、BITMAPINFOHEADER及BMP结构详解

位图BITMAPINFOHEADER 与BITMAPFILEHEADER：
先来看BITMAPINFOHEADER，只写几个主要的

    biSize包]]></description><category></category></item><item><title><![CDATA[string和wstring相互转换]]></title><link>https://blog.csdn.net/layer781010/article/details/10224553</link><guid>https://blog.csdn.net/layer781010/article/details/10224553</guid><author>layer781010</author><pubDate>Fri, 23 Aug 2013 15:09:45 +0800</pubDate><description><![CDATA[1. 或许可以试试下面这个方法
// std::string -> std::wstring
std::string s("string");
std::wstring ws;
ws.assign(s.begin(), s.end());

// std::wstring -> std::string
std::wstring ws(L"wstring");
std::string s;
s.a]]></description><category></category></item><item><title><![CDATA[VC内存泄露检查工具:Visual Leak Detector]]></title><link>https://blog.csdn.net/layer781010/article/details/10189107</link><guid>https://blog.csdn.net/layer781010/article/details/10189107</guid><author>layer781010</author><pubDate>Thu, 22 Aug 2013 16:44:23 +0800</pubDate><description><![CDATA[初识Visual Leak Detector
       灵活自由是C/C++语言的一大特色，而这也为C/C++程序员出了一个难题。当程序越来越复杂时，内存的管理也会变得越加复杂，稍有不慎就会出现内存问题。内存泄漏是最常见的内存问题之一。内存泄漏如果不是很严重，在短时间内对程序不会有太大的影响，这也使得内存泄漏问题有很强的隐蔽性，不容易被发现。然而不管内存泄漏多么轻微，当程序长时间运行时，其破]]></description><category></category></item><item><title><![CDATA[boost test 编译问题]]></title><link>https://blog.csdn.net/layer781010/article/details/10187147</link><guid>https://blog.csdn.net/layer781010/article/details/10187147</guid><author>layer781010</author><pubDate>Thu, 22 Aug 2013 16:29:46 +0800</pubDate><description><![CDATA[1. boost test UTF, 如果在UI下，如对话框工程下进行单元测试， link 选项 需要添加
/SUBSYSTEM:CONSOLE

才能进行测试。



struct global_fixture1
{
    global_fixture1()  { cout << ("global setup\n") << endl; }
    ~global_fixture1]]></description><category></category></item><item><title><![CDATA[BOOST 宏定义标记]]></title><link>https://blog.csdn.net/layer781010/article/details/10180059</link><guid>https://blog.csdn.net/layer781010/article/details/10180059</guid><author>layer781010</author><pubDate>Thu, 22 Aug 2013 13:58:24 +0800</pubDate><description><![CDATA[表3中。 的UTF编译标志






旗

用法





BOOST_TEST_DYN_LINK

定义这个标志来建立/使用动态库。



BOOST_TEST_NO_LIB

定义这个标志，以防止自动链接。



BOOST_TEST_NO_MAIN

定义这个标志，以防止main​​（）函数执行生成。



BOOST_TE]]></description><category></category></item><item><title><![CDATA[问boost.test在DLL工程的单元测试如何启动]]></title><link>https://blog.csdn.net/layer781010/article/details/10175671</link><guid>https://blog.csdn.net/layer781010/article/details/10175671</guid><author>layer781010</author><pubDate>Thu, 22 Aug 2013 11:34:24 +0800</pubDate><description><![CDATA[发表于： 2012-03-24 10:18:17

初用boost的test，照网上的例子，在VC的console里面添加如下代码：
#define BOOST_TEST_MODULE test_main
#include 

int add( int a, int b ) {return (a+b);}

BOOST_AUTO_TEST_SUITE(minimal_test)
]]></description><category></category></item><item><title><![CDATA[boost shared_ptr 基类转到子类 boost::dynamic_pointer_cast]]></title><link>https://blog.csdn.net/layer781010/article/details/10148915</link><guid>https://blog.csdn.net/layer781010/article/details/10148915</guid><author>layer781010</author><pubDate>Wed, 21 Aug 2013 15:27:50 +0800</pubDate><description><![CDATA[#include "boost/shared_ptr.hpp"class Base{public:Base(){};virtual ~Base(){};protected:private:};class DeriveClass : public Base{public:DeriveClass():Base(){};virtual ~DeriveClass(){};protected:private]]></description><category></category></item><item><title><![CDATA[自绘透明ListBox]]></title><link>https://blog.csdn.net/layer781010/article/details/10126537</link><guid>https://blog.csdn.net/layer781010/article/details/10126537</guid><author>layer781010</author><pubDate>Tue, 20 Aug 2013 22:42:48 +0800</pubDate><description><![CDATA[自绘透明ListBox

分享到：新浪微博腾讯微博更多0



收藏





发布日期：
2012-02-16 17:07
浏览次数：
5352次
标　　签：
C++
文章评分：







5.0

操　　作：
下载源文件打印




sanmao
称号：未设置
简介：VC++网络开发，UI开发研究者...]]></description><category></category></item><item><title><![CDATA[UML 之 C++类图关系全面剖析]]></title><link>https://blog.csdn.net/layer781010/article/details/10125177</link><guid>https://blog.csdn.net/layer781010/article/details/10125177</guid><author>layer781010</author><pubDate>Tue, 20 Aug 2013 21:56:38 +0800</pubDate><description><![CDATA[UML 之 C++类图关系全面剖析


分类： 软件设计与架构2008-10-16
 08:52 2411人阅读 评论(3) 收藏 举报

umlc++borderclasscblog


UML的类图关系分为： 关联、聚合/组合、依赖、泛化（继承）。而其中关联又分为双向关联、单向关联、自身关联；下面就让我们一起来看看这些关系究竟是什么，以及它们的区别在哪里。

1、关联
]]></description><category></category></item><item><title><![CDATA[VC中一个关于宏的使用问题]]></title><link>https://blog.csdn.net/layer781010/article/details/10124993</link><guid>https://blog.csdn.net/layer781010/article/details/10124993</guid><author>layer781010</author><pubDate>Tue, 20 Aug 2013 21:44:48 +0800</pubDate><description><![CDATA[VC中一个关于宏的使用问题

分享到：新浪微博腾讯微博更多15



收藏





发布日期：
2001-02-28 08:01
浏览次数：
9135次
标　　签：
C++,windows
文章评分：







5.0

操　　作：
打印




赵湘宁
称号：未设置
简介：...




文章概要：
这儿是]]></description><category></category></item><item><title><![CDATA[UML示例图  class]]></title><link>https://blog.csdn.net/layer781010/article/details/10093555</link><guid>https://blog.csdn.net/layer781010/article/details/10093555</guid><author>layer781010</author><pubDate>Tue, 20 Aug 2013 07:03:21 +0800</pubDate><description><![CDATA[UML示例图




在Visio里，包和类的关系是包含关系，将类拖入包的文件夹之后，关系就建立了，二元关联符号可以设置为：聚合、合成。
接口：空心圆+直线（唐老鸭类实现了‘讲人话’）；
依赖：虚线+箭头（动物和空气的关系）；
关联：实线+箭头（企鹅需要知道气候才迁移）；
聚合：空心四边形+实线+箭头（雁群和大雁的关系）；
合成：实心四边形+实线+箭头（鸟和翅膀的关系）；
泛]]></description><category></category></item><item><title><![CDATA[UML类图几种关系的总结]]></title><link>https://blog.csdn.net/layer781010/article/details/10093539</link><guid>https://blog.csdn.net/layer781010/article/details/10093539</guid><author>layer781010</author><pubDate>Tue, 20 Aug 2013 06:39:35 +0800</pubDate><description><![CDATA[UML类图几种关系的总结





您的评价:


     





 收藏该经验    









        在UML类图中，常见的有以下几种关系: 泛化（Generalization）,  实现（Realization），关联（Association)，聚合（Aggregation），组合(Composition)，依赖(De]]></description><category></category></item><item><title><![CDATA[SQLite从Excel文件中导入数据]]></title><link>https://blog.csdn.net/layer781010/article/details/9533841</link><guid>https://blog.csdn.net/layer781010/article/details/9533841</guid><author>layer781010</author><pubDate>Sat, 27 Jul 2013 23:02:27 +0800</pubDate><description><![CDATA[SQLite从Excel文件中导入数据 2011-10-27
 00:50:13



分类： SQLite/嵌入式数据库



    Android客户端开发的时候使用了SQLite数据库，为了测试，需要将一些excel文件中的数据导入到数据库的表中，下面是几个步骤：
   数据库表的定义： 



create table bookroom(id integer,]]></description><category></category></item><item><title><![CDATA[sqlite3加密]]></title><link>https://blog.csdn.net/layer781010/article/details/9533823</link><guid>https://blog.csdn.net/layer781010/article/details/9533823</guid><author>layer781010</author><pubDate>Sat, 27 Jul 2013 22:59:19 +0800</pubDate><description><![CDATA[sqlite3加密 2011-03-25
 14:40:05



分类： SQLite/嵌入式数据库



    最近因为工作原因，需要使用sqlite数据库。sqlite数据库小并且使用方便，感觉挺不错的。但有一个不足就是没有对数据库进行加密，不过好的是sqlite预留有加密的接口，我们可以直接调用即可。我也是参考网上的资料对数据库进行加密：



sqlite数据]]></description><category></category></item><item><title><![CDATA[SQLITE3 使用总结]]></title><link>https://blog.csdn.net/layer781010/article/details/9533705</link><guid>https://blog.csdn.net/layer781010/article/details/9533705</guid><author>layer781010</author><pubDate>Sat, 27 Jul 2013 22:52:29 +0800</pubDate><description><![CDATA[SQLITE3 使用总结 2012-08-21 13:48:28


分类： SQLite/嵌入式数据库


SQLITE3 使用总结
2009-09-16 07:36 2624人阅读 评论(10) 收藏 举报

前序：
Sqlite3 的确很好用。小巧、速度快。但是因为非微软的产品，帮助文档总觉得不够。这些天再次研究它，又有一些收获，这里把我对 sqlite3 的研究列出来，]]></description><category></category></item><item><title><![CDATA[VS2010下由DEF和DLL文件生成SQLite3]]></title><link>https://blog.csdn.net/layer781010/article/details/9500831</link><guid>https://blog.csdn.net/layer781010/article/details/9500831</guid><author>layer781010</author><pubDate>Fri, 26 Jul 2013 21:45:34 +0800</pubDate><description><![CDATA[在VS2010下由DEF和DLL文件生成SQLite3.lib


2011-10-31 11:29 1245人阅读 评论(2) 收藏 举报

sqlitedll2010commandwindows工作

一.准备工作:
(1)在SQLite的官方网站下载Windows平台下的最新版本的SQLite, 下载地址:http://www.sqlite.org/sqlite-dll-wi]]></description><category></category></item><item><title><![CDATA[c++之SQLite的增删改查]]></title><link>https://blog.csdn.net/layer781010/article/details/9473547</link><guid>https://blog.csdn.net/layer781010/article/details/9473547</guid><author>layer781010</author><pubDate>Thu, 25 Jul 2013 21:05:00 +0800</pubDate><description><![CDATA[c++之SQLite的增删改查  

2010-08-04 13:20:54|  分类： C/C++之SQLite|字号 订阅







sqlite3 *db; 
sqlite3_stmt * stmt; 
const char *zTail;

//创建Table 
sqlite3_prepare(db, "create....", -1, &stmt, &z]]></description><category></category></item><item><title><![CDATA[C/C++之SQLite常用函数]]></title><link>https://blog.csdn.net/layer781010/article/details/9473507</link><guid>https://blog.csdn.net/layer781010/article/details/9473507</guid><author>layer781010</author><pubDate>Thu, 25 Jul 2013 21:02:21 +0800</pubDate><description><![CDATA[C/C++之SQLite常用函数  

2010-06-03 15:43:06|  分类： C/C++之SQLite|字号 订阅







1 、打开数据库： 
说明：打开一个数据库，文件名不一定要存在，如果此文件不存在， sqlite 会自动创建。第一个参数指文件名，第二个参数则是定义的 sqlite3 ** 结构体指针（关键数据结构），这个结构底层细节如何，您不用管它]]></description><category></category></item><item><title><![CDATA[用Python进行SQLite数据库操作]]></title><link>https://blog.csdn.net/layer781010/article/details/9458381</link><guid>https://blog.csdn.net/layer781010/article/details/9458381</guid><author>layer781010</author><pubDate>Thu, 25 Jul 2013 00:32:19 +0800</pubDate><description><![CDATA[用Python进行SQLite数据库操作





简单的介绍
      SQLite数据库是一款非常小巧的嵌入式开源数据库软件，也就是说没有独立的维护进程，所有的维护都来自于程序本身。它是遵守ACID的关联式数据库管理系统，它的设计目标是嵌入式的，而且目前已经在很多嵌入式产品中使用了它，它占用资源非常的低，在嵌入式设备中，可能只需要几百K的内存就够了。它能够支持Windows/L]]></description><category></category></item><item><title><![CDATA[使用PostThreadMessage在Win32线程间传递消息]]></title><link>https://blog.csdn.net/layer781010/article/details/9449769</link><guid>https://blog.csdn.net/layer781010/article/details/9449769</guid><author>layer781010</author><pubDate>Wed, 24 Jul 2013 13:39:11 +0800</pubDate><description><![CDATA[使用PostThreadMessage在Win32线程间传递消息
Posted on 2005-12-31 15:31 小明 阅读(16527) 评论(7)  编辑 收藏 引用 所属分类: Win32 

PostThreadMessage的原型是这样的
BOOL PostThreadMessage( DWORD idThread,
    UINT Msg,
    WPARAM w]]></description><category></category></item></channel></rss>