﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>C++博客-Kyee编程之道</title><link>http://www.cppblog.com/kyee/</link><description>程序员应该脚踏实地，切忌心浮气燥。</description><language>zh-cn</language><lastBuildDate>Tue, 07 Apr 2026 03:50:59 GMT</lastBuildDate><pubDate>Tue, 07 Apr 2026 03:50:59 GMT</pubDate><ttl>60</ttl><item><title>关于C++类库KYLib：源码？</title><link>http://www.cppblog.com/kyee/archive/2011/05/22/146902.html</link><dc:creator>Kyee Ye</dc:creator><author>Kyee Ye</author><pubDate>Sun, 22 May 2011 02:39:00 GMT</pubDate><guid>http://www.cppblog.com/kyee/archive/2011/05/22/146902.html</guid><wfw:comment>http://www.cppblog.com/kyee/comments/146902.html</wfw:comment><comments>http://www.cppblog.com/kyee/archive/2011/05/22/146902.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cppblog.com/kyee/comments/commentRss/146902.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/kyee/services/trackbacks/146902.html</trackback:ping><description><![CDATA[我碰到过很多开发人员，代码写不稳定和多线程不安全，他们经常把bug的原因归结为可参考的源代码太少，从来不反思一下为什么会有这么多bug。我甚至把整个工程的源码提供给他们，没想到他们只是当宝贝一样收藏，以为有了源码就掌握了编程思想。结果可想而知，该犯的还是要犯，还是老样子。 <br /><br />其实Linux中源码很多，但有几人会看？又有几人理解呢？源码只是为自己的无知找一个托辞罢了。 <br /><br />我放KYLib下载的真正目的只是抛砖引玉，从没想过要提供源码！至少我们公司所有跨平台开发的产品都基于KYLib，基于KYLib的产品在Linux和Windows下的代码几乎没有差异。<img src ="http://www.cppblog.com/kyee/aggbug/146902.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/kyee/" target="_blank">Kyee Ye</a> 2011-05-22 10:39 <a href="http://www.cppblog.com/kyee/archive/2011/05/22/146902.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>KYLib与MFC类库差别？</title><link>http://www.cppblog.com/kyee/archive/2011/05/22/146901.html</link><dc:creator>Kyee Ye</dc:creator><author>Kyee Ye</author><pubDate>Sun, 22 May 2011 02:30:00 GMT</pubDate><guid>http://www.cppblog.com/kyee/archive/2011/05/22/146901.html</guid><wfw:comment>http://www.cppblog.com/kyee/comments/146901.html</wfw:comment><comments>http://www.cppblog.com/kyee/archive/2011/05/22/146901.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.cppblog.com/kyee/comments/commentRss/146901.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/kyee/services/trackbacks/146901.html</trackback:ping><description><![CDATA[<p>完全两码事，框架结构都不一样。字符串KYString就比VC中的string或CString好得很多，而且多线程安全，与KYString相关的函数也很丰富。 </p>
<p>基础类型或类有：KYString、TDateTime、TKYVarType、TFile、TThread、TKYQueue、TKYStack、TKYHandle、TKYList、TKYStringList、TKYCustomList等等。 </p>
<p>针对socket的类有：TKYBaseSocket、TKYCustomUDP、TKYUDPClient、TKYUDPServer、TKYTCPClient、TKYTCPServer、TKYUDPRecvThread、TKYSockRecvThread、TKYSockRecvThreads等等，接收线程支持多路复用，即多个连接可以共用一个接收线程。</p>
<p>&nbsp;</p>
<p>本文来自CSDN博客，转载请标明出处：<a href="http://blog.csdn.net/kyee/archive/2009/03/07/3964910.aspx">http://blog.csdn.net/kyee/archive/2009/03/07/3964910.aspx</a></p><img src ="http://www.cppblog.com/kyee/aggbug/146901.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/kyee/" target="_blank">Kyee Ye</a> 2011-05-22 10:30 <a href="http://www.cppblog.com/kyee/archive/2011/05/22/146901.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>KYLib 简介</title><link>http://www.cppblog.com/kyee/archive/2011/05/22/146900.html</link><dc:creator>Kyee Ye</dc:creator><author>Kyee Ye</author><pubDate>Sun, 22 May 2011 02:25:00 GMT</pubDate><guid>http://www.cppblog.com/kyee/archive/2011/05/22/146900.html</guid><wfw:comment>http://www.cppblog.com/kyee/comments/146900.html</wfw:comment><comments>http://www.cppblog.com/kyee/archive/2011/05/22/146900.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.cppblog.com/kyee/comments/commentRss/146900.html</wfw:commentRss><trackback:ping>http://www.cppblog.com/kyee/services/trackbacks/146900.html</trackback:ping><description><![CDATA[<p><span style="font-family: Courier; font-size: 10pt">============================================================</span><br /><span style="font-family: Courier; font-size: 10pt">= 标题: KYLib 简介</span><br /><span style="font-family: Courier; font-size: 10pt">= 版本: 3.0.2.0 (build 2011.04.18)</span><br /><span style="font-family: Courier; font-size: 10pt">============================================================</span></p>
<p><span style="font-family: Courier; font-size: 10pt">从 KYLib 2.1.1.0 版本开始, 在类中添加详细的注释, 可以很轻松的使用类及相关属性方</span><br /><span style="font-family: Courier; font-size: 10pt">法等等。</span></p>
<p><span style="font-family: Courier; font-size: 10pt">KYLib 使用简单, 只要头文件中包含有:</span><br /><span style="font-family: Courier; font-size: 10pt">#include "KYLib.h"</span><br /><span style="font-family: Courier; font-size: 10pt">就可以了。</span></p>
<p><span style="font-family: Courier; font-size: 10pt">KYLib 有针对VC6, VS2008等版本库, 而且基于KYLib开发的代码可以在VC不同版本中平稳移</span><br /><span style="font-family: Courier; font-size: 10pt">植, 甚至可以平稳移植到Linux中。</span></p>
<p><span style="font-family: Courier; font-size: 10pt">KYLib 提供的相关函数与Delphi中基本相同, 提供丰富的函数和类, 如：</span><br /><span style="font-family: Courier; font-size: 10pt">&nbsp;&nbsp; a. 字符串类KYString与Delphi中的String结构基本相似, 而且多线程安全稳定</span><br /><span style="font-family: Courier; font-size: 10pt">&nbsp;&nbsp; b. TDateTime类型与Delphi中的TDateTime类型完全相同, 而且支持相关的函数</span><br /><span style="font-family: Courier; font-size: 10pt">&nbsp;&nbsp; c. 字符串操作相关函数 {Copy, Trim, UpperCase, SetLength, Format, SameText,</span><br /><span style="font-family: Courier; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CompareStr等等}</span><br /><span style="font-family: Courier; font-size: 10pt">&nbsp;&nbsp; d. 日期时间相关函数 {Date, Time, Now, FormatDateTime等等}</span><br /><span style="font-family: Courier; font-size: 10pt">&nbsp;&nbsp; e. 文件操作相关函数 {FileOpen, FileCreate, FileClose, FileExists, CreateDir,</span><br /><span style="font-family: Courier; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DeleteFile, ExtractFilePath等等}</span><br /><span style="font-family: Courier; font-size: 10pt">&nbsp;&nbsp; f. 编码相关函数 {Randomize, Random, Unicode/UTF8编码, CRC32编码, Base64编码,</span><br /><span style="font-family: Courier; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MD5编码, 加密/解密编码等等}</span><br /><span style="font-family: Courier; font-size: 10pt">&nbsp;&nbsp; g. 线程相关类 {TThread, TKYThread, TKYRunThread, TKYAsynchRun, TKYTimer等等}</span><br /><span style="font-family: Courier; font-size: 10pt">&nbsp;&nbsp; h. 文件类 {TFile, TKYMapFile, TKYDebugFile, TKYLogObj等等}</span><br /><span style="font-family: Courier; font-size: 10pt">&nbsp;&nbsp; i. 文件表类 {TKYTable, TKYIndexFile, TKYIndexTree}</span><br /><span style="font-family: Courier; font-size: 10pt">&nbsp;&nbsp; j. ini文件类 {TIniFile, TMemIniFile等等}</span><br /><span style="font-family: Courier; font-size: 10pt">&nbsp;&nbsp; k. 列表类 {TKYList, TKYStringList, TKYCustomList, TKYNameStrList,</span><br /><span style="font-family: Courier; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TKYCode2Name 等等}</span><br /><span style="font-family: Courier; font-size: 10pt">&nbsp;&nbsp; l. 链表类 {TKYQueue, TKYStack, TKYQueueEx, TKYStackEx等等}</span><br /><span style="font-family: Courier; font-size: 10pt">&nbsp;&nbsp; m. 句柄类 {TKYHandles, TKYMemHandles等等}</span><br /><span style="font-family: Courier; font-size: 10pt">&nbsp;&nbsp; n. 二叉树类 {TKYAVLTree, TKYAVLTreeEx, TKYLevelTree, AVL树相关函数}</span><br /><span style="font-family: Courier; font-size: 10pt">&nbsp;&nbsp; o. 共享队列类 {TKYQueueMap, TKYQueueFile, TKYQueueFileEx}</span><br /><span style="font-family: Courier; font-size: 10pt">&nbsp;&nbsp; p. 内存管理类 {TKYFormatBlock, TKYMemBlock等等}</span><br /><span style="font-family: Courier; font-size: 10pt">&nbsp;&nbsp; q. 线程同步类 {TKYCritSect, TKYLockRW, TKYEvent, TKYMutex, TKYSemaphore}</span><br /><span style="font-family: Courier; font-size: 10pt">&nbsp;&nbsp; r. 可变类型类 {TKYVarType, TKYField, TKYFieldDef等等}</span><br /><span style="font-family: Courier; font-size: 10pt">&nbsp;&nbsp; s. 接收缓冲区类 {TKYRecvBuffer, TKYRecvCache}</span><br /><span style="font-family: Courier; font-size: 10pt">&nbsp;&nbsp; t. Socket相关类 {TKYBaseSocket, TKYSockRecvThread, TKYTCPClient, TKYTCPServer,</span><br /><span style="font-family: Courier; font-size: 10pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TKYUDPClient, TKYUDPServer等等}</span><br /><span style="font-family: Courier; font-size: 10pt">&nbsp;&nbsp; u. 压缩/解压缩类 {TKYPack, TKYUnpack, TKYQuickPack, TKYQuckUnpack}</span><br /><span style="font-family: Courier; font-size: 10pt">&nbsp;&nbsp; v. 字符串模式匹配类 {TKYMatch}</span><br /><span style="font-family: Courier; font-size: 10pt">&nbsp;&nbsp; w. map 相关的类模板 {TKYMapIntKey, TKYMapStrKey, TKYMapIntKeyEx, TKYMapStrKeyEx}</span></p>
<p><span style="font-family: Courier; font-size: 10pt">KYLib 是专业级类库, 具有高性能和高稳定的体系结构, 不是一般共享库能比拟。</span><br /><span style="font-family: Courier; font-size: 10pt">KYLib 只提供头文件, 库文件和目标文件, 供大家参考学习和使用。</span></p>
<p><span style="font-family: Courier; font-size: 10pt">============================================================</span><br /><span style="font-family: Courier; font-size: 10pt"><br />C++类库及相关接口的下载地址如下:</span><br /><a href="http://kyee.download.csdn.net/"><span style="font-family: Courier; font-size: 10pt">http://kyee.download.csdn.net/</span></a><br /></p>
<p><span style="font-family: Courier; font-size: 10pt">C++类库KYLib的下载地址如下:</span><br /><span style="font-family: Courier; font-size: 10pt">KYLib for VC6:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><a href="http://files.cppblog.com/kyee/KYLib_VC60.rar"><span style="font-family: Courier; font-size: 10pt">http://files.cppblog.com/kyee/KYLib_VC60.rar</span></a><br /><span style="font-family: Courier; font-size: 10pt">KYLib for VS2005:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><a href="http://files.cppblog.com/kyee/KYLib_VS2005.rar"><span style="font-family: Courier; font-size: 10pt">http://files.cppblog.com/kyee/KYLib_VS2005.rar</span></a><br /><span style="font-family: Courier; font-size: 10pt">KYLib for VS2008:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><a href="http://files.cppblog.com/kyee/KYLib_VS2008.rar"><span style="font-family: Courier; font-size: 10pt">http://files.cppblog.com/kyee/KYLib_VS2008.rar</span></a><br /><span style="font-family: Courier; font-size: 10pt">KYLib for CentOS 5.4:&nbsp;&nbsp; </span><a href="http://files.cppblog.com/kyee/kylib-3.0-centos5.4.zip"><span style="font-family: Courier; font-size: 10pt">http://files.cppblog.com/kyee/kylib-3.0-centos5.4.zip</span></a></p>
<p><span style="font-family: Courier; font-size: 10pt"><br />C++类库KYLin的下载地址如下:</span><br /><span style="font-family: Courier; font-size: 10pt">kylin for CentOS 5.4:&nbsp;&nbsp; </span><a href="http://files.cppblog.com/kyee/kylin-3.0-centos5.4.zip"><span style="font-family: Courier; font-size: 10pt">http://files.cppblog.com/kyee/kylin-3.0-centos5.4.zip</span></a></p>
<p><span style="font-family: Courier; font-size: 10pt"><br />C++类库KYWin的下载地址如下:</span><br /><span style="font-family: Courier; font-size: 10pt">KYWin for VC6:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><a href="http://files.cppblog.com/kyee/KYWin_VC60.rar"><span style="font-family: Courier; font-size: 10pt">http://files.cppblog.com/kyee/KYWin_VC60.rar</span></a><br /><span style="font-family: Courier; font-size: 10pt">KYWin for VS2005:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><a href="http://files.cppblog.com/kyee/KYWin_VS2005.rar"><span style="font-family: Courier; font-size: 10pt">http://files.cppblog.com/kyee/KYWin_VS2005.rar</span></a><br /><span style="font-family: Courier; font-size: 10pt">KYWin for VS2008:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><a href="http://files.cppblog.com/kyee/KYWin_VS2008.rar"><span style="font-family: Courier; font-size: 10pt">http://files.cppblog.com/kyee/KYWin_VS2008.rar</span></a></p>
<p><span style="font-family: Courier; font-size: 10pt"><br />使用 KYLib, KYWin 的测试程序下载地址如下:</span><br /><span style="font-family: Courier; font-size: 10pt">Test AVL-tree:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><a href="http://files.cppblog.com/kyee/TestAVL.rar"><span style="font-family: Courier; font-size: 10pt">http://files.cppblog.com/kyee/TestAVL.rar</span></a><br /><span style="font-family: Courier; font-size: 10pt">Test Pack/Unpack:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><a href="http://files.cppblog.com/kyee/TestPack.rar"><span style="font-family: Courier; font-size: 10pt">http://files.cppblog.com/kyee/TestPack.rar</span></a><br /><span style="font-family: Courier; font-size: 10pt">Test service:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><a href="http://files.cppblog.com/kyee/TestSvc.rar"><span style="font-family: Courier; font-size: 10pt">http://files.cppblog.com/kyee/TestSvc.rar</span></a><br /><span style="font-family: Courier; font-size: 10pt">Test TransNum:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><a href="http://files.cppblog.com/kyee/Translate.rar"><span style="font-family: Courier; font-size: 10pt">http://files.cppblog.com/kyee/Translate.rar</span></a></p>
<p>&nbsp;</p><img src ="http://www.cppblog.com/kyee/aggbug/146900.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.cppblog.com/kyee/" target="_blank">Kyee Ye</a> 2011-05-22 10:25 <a href="http://www.cppblog.com/kyee/archive/2011/05/22/146900.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>