<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feeds.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feeds.feedsky.com/csdn.net/gengxt2003" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/gengxt2003" type="application/rss+xml"></fs:self_link><lastBuildDate>Fri, 04 Dec 2009 02:49:00 GMT</lastBuildDate><title>每天进步1%，从中找到快乐！</title><description>好好学习，天天向上</description><link>http://blog.csdn.net/blogrss.aspx?username=gengxt2003</link><item><title>文件操作 file fileopen filewrite</title><link>http://blog.csdn.net/gengxt2003/archive/2009/12/04/4938624.aspx</link><description>void WriteLog(char* pdatatype)
{/*
boost::mutex::scoped_lock lock(m_WriteLogmutex);
// 不需要写时间，直接传进来
	struct tm *pNow;
	unsigned int  wYear;
	long itime=time(NULL);
	pNow = localtime(&amp;itime);
	pNow-&gt;tm_year += 1900;
	pNow-&gt;tm_mon += 1;
	wYear = pNow-&gt;tm_year;

	char szTime[50]=&quot;0&quot;;
	sprintf(szTime,&quot; %02d:%02d:%02d&quot;, pNow-&gt;tm_hour,pNow-&gt;tm_min,pNow-&gt;tm_sec);
	char szDate[50]=&quot;0&quot;;
	sprintf(szDate, &quot;%04d-%02d-%02d&quot; , wYear, pNow-&gt;tm_mon, pNow-&gt;tm_mday);

	char cfilename[512]=&quot;0&quot;;&lt;img src=&quot;http://www1.feedsky.com/t1/304998692/gengxt2003/csdn.net/s.gif?r=http://blog.csdn.net/gengxt2003/archive/2009/12/04/4938624.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/gengxt2003/304998692/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/gengxt2003/304998692/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Fri, 04 Dec 2009 10:49:00 +0800</pubDate><author>gengxt2003</author><guid isPermaLink="false">http://blog.csdn.net/gengxt2003/archive/2009/12/04/4938624.aspx</guid><dc:creator>gengxt2003</dc:creator><fs:srclink>http://blog.csdn.net/gengxt2003/archive/2009/12/04/4938624.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/gengxt2003/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/gengxt2003/~1125225/304998692/1125219</fs:itemid></item><item><title>vsftp 配置错误</title><link>http://blog.csdn.net/gengxt2003/archive/2009/11/24/4861765.aspx</link><description>&lt;br /&gt; 在配置了VSFTPD 服务后，发现虽然能够登陆，但是有如下错误：&lt;br /&gt; cannot change directory:/home/***ftp服务器连接失败,错误提示:500 OOPS: cannot change directory:/home/*******&lt;br /&gt;500 OOPS: child died&lt;br /&gt;解决方法:在终端输入命令：setsebool ftpd_disable_trans 1 &lt;br /&gt;service vsftpd restart就ＯＫ了！&lt;br /&gt;引自下面网址http://www.phpchina.com/html/81/14881-8888.html 可能提示 找不到setsebool /usr/sbin/setsebool也可以 find *|grep setsebool找到在哪个目录下面。&lt;img src=&quot;http://www1.feedsky.com/t1/304998705/gengxt2003/csdn.net/s.gif?r=http://blog.csdn.net/gengxt2003/archive/2009/11/24/4861765.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/gengxt2003/304998705/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/gengxt2003/304998705/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Tue, 24 Nov 2009 10:30:00 +0800</pubDate><author>gengxt2003</author><guid isPermaLink="false">http://blog.csdn.net/gengxt2003/archive/2009/11/24/4861765.aspx</guid><dc:creator>gengxt2003</dc:creator><fs:srclink>http://blog.csdn.net/gengxt2003/archive/2009/11/24/4861765.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/gengxt2003/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/gengxt2003/~1125225/304998705/1125219</fs:itemid></item><item><title>error C2146: 语法错误</title><link>http://blog.csdn.net/gengxt2003/archive/2009/08/13/4442580.aspx</link><description>&lt;br /&gt;在简单代码编译时出现如下错误：&lt;br /&gt;&lt;br /&gt; error C2146: 语法错误 : 缺少“;”(在标识符“a”的前面)&lt;br /&gt;&lt;br /&gt;原因在于以下代码&lt;br /&gt;string a = &quot;aa&quot;;&lt;br /&gt;&lt;br /&gt;没有在using namespace std; 之后。&lt;br /&gt;&lt;br /&gt;把那行代码放到 using namespace std; 之后，&lt;br /&gt;错误消失。&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;http://www1.feedsky.com/t1/304998723/gengxt2003/csdn.net/s.gif?r=http://blog.csdn.net/gengxt2003/archive/2009/08/13/4442580.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/gengxt2003/304998723/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/gengxt2003/304998723/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 13 Aug 2009 14:47:00 +0800</pubDate><author>gengxt2003</author><guid isPermaLink="false">http://blog.csdn.net/gengxt2003/archive/2009/08/13/4442580.aspx</guid><dc:creator>gengxt2003</dc:creator><fs:srclink>http://blog.csdn.net/gengxt2003/archive/2009/08/13/4442580.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/gengxt2003/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/gengxt2003/~1125225/304998723/1125219</fs:itemid></item><item><title>[转]VC小技巧20个</title><link>http://blog.csdn.net/gengxt2003/archive/2009/08/13/4441605.aspx</link><description>&lt;br /&gt;转自  http://www.wangchao.net.cn/bbsdetail_930900.html&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;基础类&lt;br /&gt;　　VC小技巧20个&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;　　 一、打开CD-ROM&lt;br /&gt;　　mciSendString(&quot;Set cdAudio door open wait&quot;,NULL,0,NULL);&lt;br /&gt;　　二、关闭CD_ROM&lt;br /&gt;　　mciSendString(&quot;Set cdAudio door closed wait&quot;,NULL,0,NULL);&lt;br /&gt;　　三、关闭计算机&lt;br /&gt;　　OSVERSIONINFO OsVersionInfo; //包含操作系统版本信息的数据结构&lt;br /&gt;　　OsVersionInfo.dwOSVersionInfoSize = sizeof(OSVERSIONINFO);&lt;br /&gt;　　GetVersionEx(&amp;OsVersionInfo); //获取操作系统版本信息&lt;br /&gt;　　if(OsVersionI&lt;img src=&quot;http://www1.feedsky.com/t1/304998731/gengxt2003/csdn.net/s.gif?r=http://blog.csdn.net/gengxt2003/archive/2009/08/13/4441605.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/gengxt2003/304998731/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/gengxt2003/304998731/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Thu, 13 Aug 2009 11:22:00 +0800</pubDate><author>gengxt2003</author><guid isPermaLink="false">http://blog.csdn.net/gengxt2003/archive/2009/08/13/4441605.aspx</guid><dc:creator>gengxt2003</dc:creator><fs:srclink>http://blog.csdn.net/gengxt2003/archive/2009/08/13/4441605.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/gengxt2003/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/gengxt2003/~1125225/304998731/1125219</fs:itemid></item><item><title>fatal   error   C1020:   意外的   #endif</title><link>http://blog.csdn.net/gengxt2003/archive/2009/08/12/4437096.aspx</link><description>&lt;br /&gt;今天程序出现如下一个问题&lt;br /&gt;&lt;br /&gt;fatal   error   C1020:   意外的   #endif &lt;br /&gt;&lt;br /&gt;代码如下：&lt;br /&gt;&lt;br /&gt;#ifndef TIXML_USE_STL&lt;br /&gt;&lt;br /&gt;#include &quot;stdafx.h&quot;&lt;br /&gt;&lt;br /&gt;。。。（中间代码省略）&lt;br /&gt;&lt;br /&gt;#endif&lt;br /&gt;&lt;br /&gt;在网上查找错误原因，找到如下帖子&lt;br /&gt;&lt;br /&gt;http://topic.csdn.net/u/20070810/09/f8381d20-10b4-4b08-8549-eaa70ceeb16a.html&lt;br /&gt;&lt;br /&gt;原因拷贝如下：&lt;br /&gt;&lt;br /&gt;如果使用了预编译头...那么VC会在所有CPP文件里寻找 &lt;br /&gt;#include   &quot;stdafx.h &quot; &lt;br /&gt;在找到这行代码之前 &lt;br /&gt;VC忽略所有代码... &lt;br /&gt;&lt;br /&gt;所以说.. &lt;br /&gt;在.cpp文件中 &lt;br /&gt;动态调整包含stdafx.h &lt;br /&gt;是不&lt;img src=&quot;http://www1.feedsky.com/t1/304998735/gengxt2003/csdn.net/s.gif?r=http://blog.csdn.net/gengxt2003/archive/2009/08/12/4437096.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/gengxt2003/304998735/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/gengxt2003/304998735/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Wed, 12 Aug 2009 09:35:00 +0800</pubDate><author>gengxt2003</author><guid isPermaLink="false">http://blog.csdn.net/gengxt2003/archive/2009/08/12/4437096.aspx</guid><dc:creator>gengxt2003</dc:creator><fs:srclink>http://blog.csdn.net/gengxt2003/archive/2009/08/12/4437096.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/gengxt2003/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/gengxt2003/~1125225/304998735/1125219</fs:itemid></item><item><title>[转]VS2008下安装boost</title><link>http://blog.csdn.net/gengxt2003/archive/2009/08/05/4413410.aspx</link><description>VS2008下安装boost转自 http://www.cnblogs.com/xdotnet/archive/2008/03/22/boost_install_config.html由于经常在开发C++的程序中都需要使用到正则表达式，而且也一直想学习一下Boost这个优秀的C++库，OK，今天就介绍一下在 VS2008下安装boost。可以上boost的网站去下载，推荐使用那个程序下载，速度很快，下载完一窥，boost居然有1G多，差点把我吓死。由于第一次使用，不知道要如何配置，因此从网络中搜罗很多，把最终的步骤给记下，以便后人之用...  1、下载后的目录：E:\Program Files\boost\boost_1_34_1  2、编译bjam   从vs2008的工具菜单进入命令提示窗口，cd到E:\Program Files\boost\boost_1_34_1\tools\jam\src下执行build.bat，会在E:\Program Files\boost\boost_1_34_1\tools\jam\src\bin.ntx86\生成bjam.exe，将bjam.exe&lt;img src=&quot;http://www1.feedsky.com/t1/304998747/gengxt2003/csdn.net/s.gif?r=http://blog.csdn.net/gengxt2003/archive/2009/08/05/4413410.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/gengxt2003/304998747/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/gengxt2003/304998747/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Wed, 05 Aug 2009 17:58:00 +0800</pubDate><author>gengxt2003</author><guid isPermaLink="false">http://blog.csdn.net/gengxt2003/archive/2009/08/05/4413410.aspx</guid><dc:creator>gengxt2003</dc:creator><fs:srclink>http://blog.csdn.net/gengxt2003/archive/2009/08/05/4413410.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/gengxt2003/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/gengxt2003/~1125225/304998747/1125219</fs:itemid></item><item><title>VC使用CRT调试功能来检测内存泄漏</title><link>http://blog.csdn.net/gengxt2003/archive/2009/06/29/4306519.aspx</link><description>&lt;br /&gt;VC使用CRT调试功能来检测内存泄漏&lt;br /&gt;&lt;br /&gt;http://pcedu.pconline.com.cn/empolder/gj/vc/0506/648575.html&lt;img src=&quot;http://www1.feedsky.com/t1/304998759/gengxt2003/csdn.net/s.gif?r=http://blog.csdn.net/gengxt2003/archive/2009/06/29/4306519.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/gengxt2003/304998759/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/gengxt2003/304998759/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Mon, 29 Jun 2009 11:58:00 +0800</pubDate><author>gengxt2003</author><guid isPermaLink="false">http://blog.csdn.net/gengxt2003/archive/2009/06/29/4306519.aspx</guid><dc:creator>gengxt2003</dc:creator><fs:srclink>http://blog.csdn.net/gengxt2003/archive/2009/06/29/4306519.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/gengxt2003/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/gengxt2003/~1125225/304998759/1125219</fs:itemid></item><item><title>pure-ftp不得不爱之pure-ftpd.conf 中文说明 【转帖】</title><link>http://blog.csdn.net/gengxt2003/archive/2009/06/24/4294965.aspx</link><description>转自http://www.phpchina.com/html/20/1220-2300.html pure-ftp不得不爱之pure-ftpd.conf 中文说明上一篇 / 下一篇  2006-10-23 21:36:37 / 天气: 晴朗 / 心情: 高兴 / 个人分类：FreeBSD查看( 1334 ) / 评论( 0 ) / 评分( 0 / 0 )以下是 pure-ftpd.conf 的翻译版，E文不行的自己看吧，赫赫 CODE:[Copy to clipboard]  #############################################################                                                          ##         Configuration file for pure-ftpd wrappers        ##                                          &lt;img src=&quot;http://www1.feedsky.com/t1/304998764/gengxt2003/csdn.net/s.gif?r=http://blog.csdn.net/gengxt2003/archive/2009/06/24/4294965.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/gengxt2003/304998764/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/gengxt2003/304998764/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Wed, 24 Jun 2009 16:18:00 +0800</pubDate><author>gengxt2003</author><guid isPermaLink="false">http://blog.csdn.net/gengxt2003/archive/2009/06/24/4294965.aspx</guid><dc:creator>gengxt2003</dc:creator><fs:srclink>http://blog.csdn.net/gengxt2003/archive/2009/06/24/4294965.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/gengxt2003/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/gengxt2003/~1125225/304998764/1125219</fs:itemid></item><item><title>转2个网页。</title><link>http://blog.csdn.net/gengxt2003/archive/2009/06/23/4292830.aspx</link><description>&lt;br /&gt;http://blog.csdn.net/bjfarsight/archive/2006/09/25/1280074.aspx&lt;br /&gt;&lt;br /&gt;http://blog.csdn.net/farsight2009/archive/2009/06/23/4290667.aspx&lt;img src=&quot;http://www1.feedsky.com/t1/304998771/gengxt2003/csdn.net/s.gif?r=http://blog.csdn.net/gengxt2003/archive/2009/06/23/4292830.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/gengxt2003/304998771/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/gengxt2003/304998771/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Tue, 23 Jun 2009 22:06:00 +0800</pubDate><author>gengxt2003</author><guid isPermaLink="false">http://blog.csdn.net/gengxt2003/archive/2009/06/23/4292830.aspx</guid><dc:creator>gengxt2003</dc:creator><fs:srclink>http://blog.csdn.net/gengxt2003/archive/2009/06/23/4292830.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/gengxt2003/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/gengxt2003/~1125225/304998771/1125219</fs:itemid></item><item><title>tcpdump 安装使用</title><link>http://blog.csdn.net/gengxt2003/archive/2009/06/17/4275989.aspx</link><description>&lt;br /&gt;http://tcpdump.anheng.com.cn/news/24/586.html&lt;img src=&quot;http://www1.feedsky.com/t1/304998780/gengxt2003/csdn.net/s.gif?r=http://blog.csdn.net/gengxt2003/archive/2009/06/17/4275989.aspx&quot; border=&quot;0&quot; height=&quot;0&quot; width=&quot;0&quot; style=&quot;position:absolute&quot; /&gt;&lt;p class=&quot;fswww1&quot;&gt;&lt;a href=&quot;http://www1.feedsky.com/r/l/csdn.net/gengxt2003/304998780/art01.html&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; ismap=&quot;ismap&quot; src=&quot;http://www1.feedsky.com/r/i/csdn.net/gengxt2003/304998780/art01.gif&quot; onerror=&quot;this.style.display='none'&quot; /&gt;&lt;/a&gt;&lt;/p&gt;</description><pubDate>Wed, 17 Jun 2009 12:05:00 +0800</pubDate><author>gengxt2003</author><guid isPermaLink="false">http://blog.csdn.net/gengxt2003/archive/2009/06/17/4275989.aspx</guid><dc:creator>gengxt2003</dc:creator><fs:srclink>http://blog.csdn.net/gengxt2003/archive/2009/06/17/4275989.aspx</fs:srclink><fs:srcfeed>http://blog.csdn.net/gengxt2003/feed.aspx</fs:srcfeed><fs:itemid>csdn.net/gengxt2003/~1125225/304998780/1125219</fs:itemid></item></channel></rss>