??xml version="1.0" encoding="utf-8" standalone="yes"?>国产丝袜一区二区,久久黄色网页,欧美视频福利http://m.shnenglu.com/gezidan/category/17470.html日需博客Q每日必需来踩t哦..zh-cnFri, 18 Mar 2016 08:54:49 GMTFri, 18 Mar 2016 08:54:49 GMT60C++11中的Move语义和右值引?/title><link>http://m.shnenglu.com/gezidan/archive/2016/03/15/213026.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Tue, 15 Mar 2016 07:49:00 GMT</pubDate><guid>http://m.shnenglu.com/gezidan/archive/2016/03/15/213026.html</guid><wfw:comment>http://m.shnenglu.com/gezidan/comments/213026.html</wfw:comment><comments>http://m.shnenglu.com/gezidan/archive/2016/03/15/213026.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/gezidan/comments/commentRss/213026.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/gezidan/services/trackbacks/213026.html</trackback:ping><description><![CDATA[     摘要: <p style="margin-top: 10px; margin-bottom: 10px; padding: 0px; list-style-type: none; list-style-image: none; color: #444444; font-family: Tahoma, Arial, Helvetica, sans-serif; line-height: 25.2px; background-color: #ffffff;">C++一直致力于生成快速的E序。不q的是,直到C++11之前Q这里一直有一个降低C++E序速度的顽症:临时变量的创建。有时这些时变量可以被~译器优化(例如q回g化)Q但是这q不L可行的,通常q会D高昂的对象复制成本。我说的是怎么回事呢?</p> <br><script language="javascript"type="text/javascript">window.location.replace("http://blog.libgod.com");</script>  <a href='http://m.shnenglu.com/gezidan/archive/2016/03/15/213026.html'>阅读全文</a><img src ="http://m.shnenglu.com/gezidan/aggbug/213026.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/gezidan/" target="_blank">日需博客</a> 2016-03-15 15:49 <a href="http://m.shnenglu.com/gezidan/archive/2016/03/15/213026.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>传奇3.0 VC++最l正式版本源?/title><link>http://m.shnenglu.com/gezidan/archive/2011/09/28/157035.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Wed, 28 Sep 2011 01:14:00 GMT</pubDate><guid>http://m.shnenglu.com/gezidan/archive/2011/09/28/157035.html</guid><wfw:comment>http://m.shnenglu.com/gezidan/comments/157035.html</wfw:comment><comments>http://m.shnenglu.com/gezidan/archive/2011/09/28/157035.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://m.shnenglu.com/gezidan/comments/commentRss/157035.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/gezidan/services/trackbacks/157035.html</trackback:ping><description><![CDATA[     摘要: 传奇3.0 (evil’s illusion Server) <br>韩国正式版本 vc++ 源码 <br>GameServer VC++源代码,包括地图Q脚本,人物处理Q协议加密,带数据库Q由于源码ؓ商业性质的,请用者注意其版权和不要擅自公开发布和传播源码?<br>WEMADE 公司?Delphi 版本服务器端E序后,修改?VC++ 版本?<br>可用VC++ 6.0 ?VC.net ~译Q学习网l游戏开发的朋友又一个绝好的源码?nbsp; <a href='http://m.shnenglu.com/gezidan/archive/2011/09/28/157035.html'>阅读全文</a><img src ="http://m.shnenglu.com/gezidan/aggbug/157035.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/gezidan/" target="_blank">日需博客</a> 2011-09-28 09:14 <a href="http://m.shnenglu.com/gezidan/archive/2011/09/28/157035.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>SQLite3 C/C++ 开发接口简?/title><link>http://m.shnenglu.com/gezidan/archive/2011/09/21/156422.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Wed, 21 Sep 2011 07:12:00 GMT</pubDate><guid>http://m.shnenglu.com/gezidan/archive/2011/09/21/156422.html</guid><wfw:comment>http://m.shnenglu.com/gezidan/comments/156422.html</wfw:comment><comments>http://m.shnenglu.com/gezidan/archive/2011/09/21/156422.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/gezidan/comments/commentRss/156422.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/gezidan/services/trackbacks/156422.html</trackback:ping><description><![CDATA[     摘要: 1.0 总览 <br> <br>SQLite3是SQLite一个全新的版本,它虽然是在SQLite 2.8.13的代码基之上开发的,但是使用了和之前的版本不兼容的数据库格式和API. SQLite3是ؓ了满以下的需求而开发的: <br> <br> <br> <br>l 支持UTF-16~码. <br> <br>l 用户自定义的文本排序Ҏ. <br> <br>l 可以对BLOBs字段建立索引. <br> <br>因此Z支持q些Ҏ我改变了数据库的格?建立了一个与之前版本不兼容的3.0? 至于其他的兼Ҏ的改变,例如全新的API{等,都将在理Zl之后向你说?q样可以使你最快的一ơ性摆脱兼Ҏ问?  <a href='http://m.shnenglu.com/gezidan/archive/2011/09/21/156422.html'>阅读全文</a><img src ="http://m.shnenglu.com/gezidan/aggbug/156422.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/gezidan/" target="_blank">日需博客</a> 2011-09-21 15:12 <a href="http://m.shnenglu.com/gezidan/archive/2011/09/21/156422.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>修改const变量的疑?/title><link>http://m.shnenglu.com/gezidan/archive/2011/09/10/155529.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Sat, 10 Sep 2011 13:21:00 GMT</pubDate><guid>http://m.shnenglu.com/gezidan/archive/2011/09/10/155529.html</guid><wfw:comment>http://m.shnenglu.com/gezidan/comments/155529.html</wfw:comment><comments>http://m.shnenglu.com/gezidan/archive/2011/09/10/155529.html#Feedback</comments><slash:comments>7</slash:comments><wfw:commentRss>http://m.shnenglu.com/gezidan/comments/commentRss/155529.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/gezidan/services/trackbacks/155529.html</trackback:ping><description><![CDATA[     摘要: 2个指针指向的地址和变量地址一Pgؓ什么不一样呢Q疑惑?<br> <br>#include "stdafx.h" <br> <br> <br>int _tmain(int argc, _TCHAR* argv[]) <br>{ <br> const int a=10; <br> const int *p1=&a; <br> int *p2=const_cast<int *>(p1); <br> if (&a==p1) <br> { <br> printf("&a==p1\n"); <br> } <br> else <br> { <br> printf("&a!=p1\n");  <a href='http://m.shnenglu.com/gezidan/archive/2011/09/10/155529.html'>阅读全文</a><img src ="http://m.shnenglu.com/gezidan/aggbug/155529.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/gezidan/" target="_blank">日需博客</a> 2011-09-10 21:21 <a href="http://m.shnenglu.com/gezidan/archive/2011/09/10/155529.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>GDI+ for VC6 MFChttp://m.shnenglu.com/gezidan/archive/2011/08/23/154097.html日需博客日需博客Tue, 23 Aug 2011 01:10:00 GMThttp://m.shnenglu.com/gezidan/archive/2011/08/23/154097.htmlhttp://m.shnenglu.com/gezidan/comments/154097.htmlhttp://m.shnenglu.com/gezidan/archive/2011/08/23/154097.html#Feedback7http://m.shnenglu.com/gezidan/comments/commentRss/154097.htmlhttp://m.shnenglu.com/gezidan/services/trackbacks/154097.html讉K微Y的MSDN|站后,随即解开了此谜。于是便有了此文 ?如何在VC6 MFC中用GDI+?nbsp; 阅读全文

日需博客 2011-08-23 09:10 发表评论
]]>
C++自定义发IP包例?/title><link>http://m.shnenglu.com/gezidan/archive/2011/08/19/153850.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Fri, 19 Aug 2011 06:55:00 GMT</pubDate><guid>http://m.shnenglu.com/gezidan/archive/2011/08/19/153850.html</guid><wfw:comment>http://m.shnenglu.com/gezidan/comments/153850.html</wfw:comment><comments>http://m.shnenglu.com/gezidan/archive/2011/08/19/153850.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/gezidan/comments/commentRss/153850.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/gezidan/services/trackbacks/153850.html</trackback:ping><description><![CDATA[     摘要:   <a href='http://m.shnenglu.com/gezidan/archive/2011/08/19/153850.html'>阅读全文</a><img src ="http://m.shnenglu.com/gezidan/aggbug/153850.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/gezidan/" target="_blank">日需博客</a> 2011-08-19 14:55 <a href="http://m.shnenglu.com/gezidan/archive/2011/08/19/153850.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>ARPƺ骗 C++实现http://m.shnenglu.com/gezidan/archive/2011/08/19/153843.html日需博客日需博客Fri, 19 Aug 2011 03:55:00 GMThttp://m.shnenglu.com/gezidan/archive/2011/08/19/153843.htmlhttp://m.shnenglu.com/gezidan/comments/153843.htmlhttp://m.shnenglu.com/gezidan/archive/2011/08/19/153843.html#Feedback0http://m.shnenglu.com/gezidan/comments/commentRss/153843.htmlhttp://m.shnenglu.com/gezidan/services/trackbacks/153843.html
也想搞清楚这个ARPƺ骗到底是个什么东ѝ于是在|上查了点资料,看了Ҏ。也是DIY了一个出来,?

且可以不被ANTIARPSNIFFER发现的让ҎL在网l中L。于是把q个东西脓出来让大家一h玩一下?
在下菜鸟一只,q请高手指教
参考资料:《TCP/IP详解IIQ实现》,《WINPCAP 3.0 DOC?《交换网l中的嗅探和ARPƺ骗》(一位叫RefDom

的大哥很久前写的帖子Q?nbsp; 阅读全文

日需博客 2011-08-19 11:55 发表评论
]]>
Windowsq_下的内存理http://m.shnenglu.com/gezidan/archive/2011/08/15/153399.html日需博客日需博客Mon, 15 Aug 2011 01:21:00 GMThttp://m.shnenglu.com/gezidan/archive/2011/08/15/153399.htmlhttp://m.shnenglu.com/gezidan/comments/153399.htmlhttp://m.shnenglu.com/gezidan/archive/2011/08/15/153399.html#Feedback0http://m.shnenglu.com/gezidan/comments/commentRss/153399.htmlhttp://m.shnenglu.com/gezidan/services/trackbacks/153399.html
释放
new
delete
malloc
free
CoTaskMemAlloc
CoTaskMemFree
IMalloc::alloc
IMalloc/free
GlobalAlloc
GlobalFree
LocalAlloc
LocalFree
HeapAlloc
HeapFree
VirtualAlloc
VirtualFree  阅读全文

日需博客 2011-08-15 09:21 发表评论
]]>
malloc,new,VirtualAlloc,HeapAlloc性能(速度)比较http://m.shnenglu.com/gezidan/archive/2011/08/15/153397.html日需博客日需博客Mon, 15 Aug 2011 01:19:00 GMThttp://m.shnenglu.com/gezidan/archive/2011/08/15/153397.htmlhttp://m.shnenglu.com/gezidan/comments/153397.htmlhttp://m.shnenglu.com/gezidan/archive/2011/08/15/153397.html#Feedback2http://m.shnenglu.com/gezidan/comments/commentRss/153397.htmlhttp://m.shnenglu.com/gezidan/services/trackbacks/153397.html
我用的是VC6.0试?

׃介绍q几个的用法?

我写了一D늮单的试代码

试l果是:

malloc:390
new:391
VirtualAlloc:454
HeapAlloc:47  阅读全文

日需博客 2011-08-15 09:19 发表评论
]]>
VC++下用ADO~写数据库程?/title><link>http://m.shnenglu.com/gezidan/archive/2011/08/09/152863.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Tue, 09 Aug 2011 06:21:00 GMT</pubDate><guid>http://m.shnenglu.com/gezidan/archive/2011/08/09/152863.html</guid><wfw:comment>http://m.shnenglu.com/gezidan/comments/152863.html</wfw:comment><comments>http://m.shnenglu.com/gezidan/archive/2011/08/09/152863.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/gezidan/comments/commentRss/152863.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/gezidan/services/trackbacks/152863.html</trackback:ping><description><![CDATA[     摘要: 准备Q?<br>(1)、引入ADOc?<br>#import "c:\program files\common files\system\ado\msado15.dll" <br>no_namespace <br>rename ("EOF", "adoEOF") <br>(2)、初始化COM <br>在MFC中可以用AfxOleInit();非MFC环境中用: <br>CoInitialize(NULL); <br>CoUnInitialize();  <a href='http://m.shnenglu.com/gezidan/archive/2011/08/09/152863.html'>阅读全文</a><img src ="http://m.shnenglu.com/gezidan/aggbug/152863.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/gezidan/" target="_blank">日需博客</a> 2011-08-09 14:21 <a href="http://m.shnenglu.com/gezidan/archive/2011/08/09/152863.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>GUIE序也能使用控制台窗?/title><link>http://m.shnenglu.com/gezidan/archive/2011/08/09/152862.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Tue, 09 Aug 2011 05:57:00 GMT</pubDate><guid>http://m.shnenglu.com/gezidan/archive/2011/08/09/152862.html</guid><wfw:comment>http://m.shnenglu.com/gezidan/comments/152862.html</wfw:comment><comments>http://m.shnenglu.com/gezidan/archive/2011/08/09/152862.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/gezidan/comments/commentRss/152862.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/gezidan/services/trackbacks/152862.html</trackback:ping><description><![CDATA[     摘要: 很多时候,调试GUIE序是很不方便的Q通常的做法是使用MessageBoxQ但是作Z个模态窗口,它经生不必要的消息,比如killfocus, setfocus或者paintQ从而媄响调试的执行q程。当Ӟ使用vc的调试器也不错,但是q样也很Ҏ造成H口切换从而生干扰消息?<br>因此Q如果能像在控制台程序里那样使用cin/cout对象或printf族函敎ͼ会得调试过E方便得多。而通常Qwindows是不会ؓGUIE序产生单独的命令行H口的。所以我们是看不C用标准输入输出流输出的东西的。既然系l不提供Q那p己动手“造”出一个来吧! <br> <br>下面是一个简单的控制台窗口对象,它可以ؓ你的E序创徏一个命令行H口Qƈstdout,stdin和stderr重定向到q个命o行窗口。在E序中徏立一个这L对象之后Q就可以直接使用cin/cout/*printf来操U这个新的命令行H口了!5 f8 I$ l4 o- b3 L, m% h  <a href='http://m.shnenglu.com/gezidan/archive/2011/08/09/152862.html'>阅读全文</a><img src ="http://m.shnenglu.com/gezidan/aggbug/152862.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/gezidan/" target="_blank">日需博客</a> 2011-08-09 13:57 <a href="http://m.shnenglu.com/gezidan/archive/2011/08/09/152862.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>位运的用处搜集http://m.shnenglu.com/gezidan/archive/2011/08/08/152780.html日需博客日需博客Mon, 08 Aug 2011 05:29:00 GMThttp://m.shnenglu.com/gezidan/archive/2011/08/08/152780.htmlhttp://m.shnenglu.com/gezidan/comments/152780.htmlhttp://m.shnenglu.com/gezidan/archive/2011/08/08/152780.html#Feedback0http://m.shnenglu.com/gezidan/comments/commentRss/152780.htmlhttp://m.shnenglu.com/gezidan/services/trackbacks/152780.html清零取反要用与,某位|一可用?
若要取反和交换,轻轻松松用异?
UMq算
要点 1 它们都是双目q算W,两个q算分量都是整ŞQ结果也是整形?
2 " < <" 左移Q右边空出的位上?Q左边的位将从字头挤掉,其值相当于??
3 ">>"右移Q右边的位被挤掉。对于左边移出的IZQ如果是正数则空位补0Q若敎ͼ可能?或补1Q这取决于所用的计算机系l?
4 ">>>"q算W,双的位被挤掉,对于左边Ud的空位一概补??nbsp; 阅读全文

日需博客 2011-08-08 13:29 发表评论
]]>
介绍LuaPlus: 好用的Lua For C++扩展http://m.shnenglu.com/gezidan/archive/2011/08/08/152769.html日需博客日需博客Mon, 08 Aug 2011 03:36:00 GMThttp://m.shnenglu.com/gezidan/archive/2011/08/08/152769.htmlhttp://m.shnenglu.com/gezidan/comments/152769.htmlhttp://m.shnenglu.com/gezidan/archive/2011/08/08/152769.html#Feedback1http://m.shnenglu.com/gezidan/comments/commentRss/152769.htmlhttp://m.shnenglu.com/gezidan/services/trackbacks/152769.htmlLuaPlus目前版本为:LuaPlus for Lua 5.01 Distribution Build 1080 (February 28, 2004)。大家可以到http://luaplus.org/ 站点下蝲Q?
源码 (http://wwhiz.com/LuaPlus/LuaPlus50_Build1081.zip)
目标?(http://wwhiz.com/LuaPlus/LuaPlus50_Build1081_Win32Binaries.zip)
介绍LuaPlus: 好用的Lua For C++扩展 沐枫|志   阅读全文

日需博客 2011-08-08 11:36 发表评论
]]>
json格式入门和ȝhttp://m.shnenglu.com/gezidan/archive/2011/08/08/152759.html日需博客日需博客Mon, 08 Aug 2011 03:07:00 GMThttp://m.shnenglu.com/gezidan/archive/2011/08/08/152759.htmlhttp://m.shnenglu.com/gezidan/comments/152759.htmlhttp://m.shnenglu.com/gezidan/archive/2011/08/08/152759.html#Feedback0http://m.shnenglu.com/gezidan/comments/commentRss/152759.htmlhttp://m.shnenglu.com/gezidan/services/trackbacks/152759.html
W一U类型是标量QscalarQ,也就是一个单独的字符ԌstringQ或数字QnumbersQ,比如"北京"q个单独的词?

W二U类型是序列QsequenceQ,也就是若q个相关的数据按照一定顺序ƈ列在一P又叫做数l(arrayQ或列表QListQ,比如"北京Q上??

W三U类型是映射QmappingQ,也就是一个名/值对QName/valueQ,x据有一个名Uͼq有一个与之相对应的|q又UC散列QhashQ或字典QdictionaryQ,比如"首都Q北??nbsp; 阅读全文

日需博客 2011-08-08 11:07 发表评论
]]>
修改IAT实现本进EAPI HOOKhttp://m.shnenglu.com/gezidan/archive/2011/08/08/152757.html日需博客日需博客Mon, 08 Aug 2011 03:03:00 GMThttp://m.shnenglu.com/gezidan/archive/2011/08/08/152757.htmlhttp://m.shnenglu.com/gezidan/comments/152757.htmlhttp://m.shnenglu.com/gezidan/archive/2011/08/08/152757.html#Feedback0http://m.shnenglu.com/gezidan/comments/commentRss/152757.htmlhttp://m.shnenglu.com/gezidan/services/trackbacks/152757.html//coded by xicao
//QQ:327062448
//E-MAIL:xicao54007@sina.com
#include
#include //ImageDirectoryEntryToData
#pragma comment(lib,"imagehlp.lib")
/************************************************************/
char *szModName = NULL ;
char *szHacked = "不好意思hookC!" ;
DWORD dwHookFun ;
DWORD dwHookApiAddr;
PIMAGE_IMPORT_DESCRIPTOR pImportDesc ;
PIMAGE_THUNK_DATA32 pThunk;
U  阅读全文

日需博客 2011-08-08 11:03 发表评论
]]>
l典~程书籍QC++, |络, Windows, LinuxQ?/title><link>http://m.shnenglu.com/gezidan/archive/2011/08/08/152756.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Mon, 08 Aug 2011 02:59:00 GMT</pubDate><guid>http://m.shnenglu.com/gezidan/archive/2011/08/08/152756.html</guid><wfw:comment>http://m.shnenglu.com/gezidan/comments/152756.html</wfw:comment><comments>http://m.shnenglu.com/gezidan/archive/2011/08/08/152756.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/gezidan/comments/commentRss/152756.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/gezidan/services/trackbacks/152756.html</trackback:ping><description><![CDATA[     摘要: 两年前就l自己列Z一个读书清单,但进展缓慢,看的l典书籍仍然寥寥可数Q惭愧中...... <br>现在这个书单重C改,一斚w鞭策自己学习Q另一斚w也表辑֯大牛们有如滔滔江水般的敬C意? <br>书单中列丄都是相关领域的经怹c,必读之作。此书单的编辑参考了很多|站Q包括一些名家的推荐Q例如侯P孟岩Q荣耀Q潘爱民{等Q在此也向这些前辈表C感谢。^_^   <a href='http://m.shnenglu.com/gezidan/archive/2011/08/08/152756.html'>阅读全文</a><img src ="http://m.shnenglu.com/gezidan/aggbug/152756.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/gezidan/" target="_blank">日需博客</a> 2011-08-08 10:59 <a href="http://m.shnenglu.com/gezidan/archive/2011/08/08/152756.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>LPTSTR、LPCSTR、LPCTSTR、LPSTR的来源及意义http://m.shnenglu.com/gezidan/archive/2011/08/08/152755.html日需博客日需博客Mon, 08 Aug 2011 02:58:00 GMThttp://m.shnenglu.com/gezidan/archive/2011/08/08/152755.htmlhttp://m.shnenglu.com/gezidan/comments/152755.htmlhttp://m.shnenglu.com/gezidan/archive/2011/08/08/152755.html#Feedback0http://m.shnenglu.com/gezidan/comments/commentRss/152755.htmlhttp://m.shnenglu.com/gezidan/services/trackbacks/152755.htmlMBCSQ它是多字节字符集,它是不定长表CZ界文字的~码。MBCS表示英文字母时就和ASCII一Pq也是我们容易把MBCS和ASCII搞؜的原因)Q但表示其他文字时就需要用多字节?
WINDOWS下面的程序设计可以支持MBCS和UNICODE两种~码的字W串Q具体用那种q你定义了MBCS宏还是UNICODE宏。MBCS宏对应的字符串指针是char*也就是LPSTRQUNICODE对应的指针是unsigned short*也就是LPWSTRQؓ了写E序方便微Y定义了类型LPTSTRQ在MBCS下他是char*, 在UNICODE下它是unsigned char*,q样你就可以重定义一个宏q行不同字符集的转换了?nbsp; 阅读全文

日需博客 2011-08-08 10:58 发表评论
]]>
使用KeepAlive网l异?/title><link>http://m.shnenglu.com/gezidan/archive/2011/08/08/152754.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Mon, 08 Aug 2011 02:53:00 GMT</pubDate><guid>http://m.shnenglu.com/gezidan/archive/2011/08/08/152754.html</guid><wfw:comment>http://m.shnenglu.com/gezidan/comments/152754.html</wfw:comment><comments>http://m.shnenglu.com/gezidan/archive/2011/08/08/152754.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/gezidan/comments/commentRss/152754.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/gezidan/services/trackbacks/152754.html</trackback:ping><description><![CDATA[     摘要: #include "netinet/tcp.h" <br>int keepAlive = 1; //讑֮KeepAlive <br>int keepIdle = 30; //开始首ơKeepAlive探测前的TCPI闭旉 <br>int keepInterval = 30; //两次KeepAlive探测间的旉间隔 <br>int keepCount = 3; //判定断开前的KeepAlive探测ơ数 <br> <br>if(setsockopt(sockfd,SOL_SOCKET,SO_KEEPALIVE,(void*)&keepAlive,sizeof(keepAlive)) == -1) <br>{ <br> printf("Socket Option setting(SO_KEEPALIVE) fail !\n"); <br> return FALSE; <br>} <br> <br>if(setsockopt(sockfd,SOL_TCP,TCP_KEEPIDLE,(void *)&ke  <a href='http://m.shnenglu.com/gezidan/archive/2011/08/08/152754.html'>阅读全文</a><img src ="http://m.shnenglu.com/gezidan/aggbug/152754.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/gezidan/" target="_blank">日需博客</a> 2011-08-08 10:53 <a href="http://m.shnenglu.com/gezidan/archive/2011/08/08/152754.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>DLL的定义与调用http://m.shnenglu.com/gezidan/archive/2011/08/07/152725.html日需博客日需博客Sun, 07 Aug 2011 11:18:00 GMThttp://m.shnenglu.com/gezidan/archive/2011/08/07/152725.htmlhttp://m.shnenglu.com/gezidan/comments/152725.htmlhttp://m.shnenglu.com/gezidan/archive/2011/08/07/152725.html#Feedback0http://m.shnenglu.com/gezidan/comments/commentRss/152725.htmlhttp://m.shnenglu.com/gezidan/services/trackbacks/152725.html阅读全文

日需博客 2011-08-07 19:18 发表评论
]]>
Crypto++入门学习W记QDES、AES、RSA、SHA-256Q?/title><link>http://m.shnenglu.com/gezidan/archive/2011/08/05/152562.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Fri, 05 Aug 2011 08:37:00 GMT</pubDate><guid>http://m.shnenglu.com/gezidan/archive/2011/08/05/152562.html</guid><wfw:comment>http://m.shnenglu.com/gezidan/comments/152562.html</wfw:comment><comments>http://m.shnenglu.com/gezidan/archive/2011/08/05/152562.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/gezidan/comments/commentRss/152562.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/gezidan/services/trackbacks/152562.html</trackback:ping><description><![CDATA[     摘要: 背景Q只是个人感惻I技术上不对后面的内Ҏ成知识性障,可以skipQ: <br>最q,Z某些原因和需要,W者需要去了解一下Crypto++库,然后对一些数据进行一些加密解密的操作?<br>W者之前没接触qQ何加密解密方面的知识Q当Ӟ把每个字W的ASCII值加1之流Ҏ文进行加密的“趣事”还是干q的Q当时还很乐在其中。)Q甚至一开始连Crypto++的名字都没有听过Q被BS了之后,开始了Crypto++的入门探索过E?<br>最初,大概知道了要了解两大cȝ法中的几个算法——对U加密算法:DES、AESQ后来因Zh品好的缘故也了解了下非对U加密算法RSAQ后文会详述何谓“h品好”)Q散列算法(需要通过Hashq算Q:SHA-256?<br>起初Q笔者以L知名法在网上应该有很多现成的例子。笔者比较懒Q对于自׃熟悉的东西,d望找捷径Q直接找别h玎ͼ在已l写Q成可(~译q)行的代码然后施展ctrl + CQctrl + V法Q咳Q什么算法,是大法!Q!Q?<br>HoweverQ发觉网上的例子不是E~,是只有代码没有解释。笔者觉得很隑ֿ受这L“莫名其妙”(奇怪的  <a href='http://m.shnenglu.com/gezidan/archive/2011/08/05/152562.html'>阅读全文</a><img src ="http://m.shnenglu.com/gezidan/aggbug/152562.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/gezidan/" target="_blank">日需博客</a> 2011-08-05 16:37 <a href="http://m.shnenglu.com/gezidan/archive/2011/08/05/152562.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Crypto++ 的用方?/title><link>http://m.shnenglu.com/gezidan/archive/2011/08/05/152559.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Fri, 05 Aug 2011 08:24:00 GMT</pubDate><guid>http://m.shnenglu.com/gezidan/archive/2011/08/05/152559.html</guid><wfw:comment>http://m.shnenglu.com/gezidan/comments/152559.html</wfw:comment><comments>http://m.shnenglu.com/gezidan/archive/2011/08/05/152559.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/gezidan/comments/commentRss/152559.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/gezidan/services/trackbacks/152559.html</trackback:ping><description><![CDATA[     摘要: 从官方网下蝲的Crypto++库是开源的Q只有源文g和几个可以生成lib、dll的工E,以及一个用的例子工程Q因此希望生成自己徏的工E能使用的SDK? <br> <br>1.~译链接生成cryptlib.lib <br>打开cryptest.slnQ分别在Debug模式和Release模式下编译链接cryptlib工程Q成功后会在cryptopp54\\Win32\\output\\debug和cryptopp54\\Win32\\output\\release下生成cryptlib.lib文g。作者当时用的是Crypto++ 5.4版本? <br>Build时方法是Q右击Solution Explorer中的cryptlib工程Q单击build。第一ơ时它会报错说“d:\\cryptopp54\\adler32.cpp(3) : fatal error C1033: cannot open program database ’d:\\cryptopp54\\win32\\cryptlib\\debug\\vc80.idb’”,没关p,按这样再build一ơ,?nbsp; <a href='http://m.shnenglu.com/gezidan/archive/2011/08/05/152559.html'>阅读全文</a><img src ="http://m.shnenglu.com/gezidan/aggbug/152559.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/gezidan/" target="_blank">日需博客</a> 2011-08-05 16:24 <a href="http://m.shnenglu.com/gezidan/archive/2011/08/05/152559.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>C++重蝲operator的示?/title><link>http://m.shnenglu.com/gezidan/archive/2011/08/04/152439.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Thu, 04 Aug 2011 06:35:00 GMT</pubDate><guid>http://m.shnenglu.com/gezidan/archive/2011/08/04/152439.html</guid><wfw:comment>http://m.shnenglu.com/gezidan/comments/152439.html</wfw:comment><comments>http://m.shnenglu.com/gezidan/archive/2011/08/04/152439.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/gezidan/comments/commentRss/152439.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/gezidan/services/trackbacks/152439.html</trackback:ping><description><![CDATA[     摘要: 以下CZ中定义了一个class test, 重蝲?, +, +=, =, ==, <<, >>{符? <br> <br>#include<iostream> <br>#include<vector> <br>using namespace std; <br> <br>class test{ <br>public: <br> int v; <br> /*构造函?/ <br> test():v(0){} <br> test(const int &a):v(a){} <br> test(const test &t1):v(t1.v){} <br> <br> /*以下重蝲于?< */ <br> //比较两个对象的大? <br> bool operator<(const test &t1) const{ <br> return (v < t1.v); <br> }  <a href='http://m.shnenglu.com/gezidan/archive/2011/08/04/152439.html'>阅读全文</a><img src ="http://m.shnenglu.com/gezidan/aggbug/152439.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/gezidan/" target="_blank">日需博客</a> 2011-08-04 14:35 <a href="http://m.shnenglu.com/gezidan/archive/2011/08/04/152439.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Windows完成端口与Linux epoll技术简?/title><link>http://m.shnenglu.com/gezidan/archive/2011/08/04/152436.html</link><dc:creator>日需博客</dc:creator><author>日需博客</author><pubDate>Thu, 04 Aug 2011 05:49:00 GMT</pubDate><guid>http://m.shnenglu.com/gezidan/archive/2011/08/04/152436.html</guid><wfw:comment>http://m.shnenglu.com/gezidan/comments/152436.html</wfw:comment><comments>http://m.shnenglu.com/gezidan/archive/2011/08/04/152436.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/gezidan/comments/commentRss/152436.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/gezidan/services/trackbacks/152436.html</trackback:ping><description><![CDATA[     摘要: WINDOWS完成端口~程 <br>1、基本概?<br>2、WINDOWS完成端口的特?<br>3、完成端口(Completion Ports Q相x据结构和创徏 <br>4、完成端口线E的工作原理 <br>5、Windows完成端口的实例代?<br>Linux的EPoll模型 <br>1、ؓ什么select落后 <br>2、内怸提高I/O性能的新Ҏepoll <br>3、epoll的优?<br>4、epoll的工作模? <br>5、epoll的用方?<br>6、Linux下EPOll~程实例 <br>ȝ  <a href='http://m.shnenglu.com/gezidan/archive/2011/08/04/152436.html'>阅读全文</a><img src ="http://m.shnenglu.com/gezidan/aggbug/152436.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/gezidan/" target="_blank">日需博客</a> 2011-08-04 13:49 <a href="http://m.shnenglu.com/gezidan/archive/2011/08/04/152436.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>C++cd转换ȝhttp://m.shnenglu.com/gezidan/archive/2011/08/03/152354.html日需博客日需博客Wed, 03 Aug 2011 05:57:00 GMThttp://m.shnenglu.com/gezidan/archive/2011/08/03/152354.htmlhttp://m.shnenglu.com/gezidan/comments/152354.htmlhttp://m.shnenglu.com/gezidan/archive/2011/08/03/152354.html#Feedback0http://m.shnenglu.com/gezidan/comments/commentRss/152354.htmlhttp://m.shnenglu.com/gezidan/services/trackbacks/152354.htmlTYPE b = (TYPE)a?
C++风格的类型{换提供了4U类型{换操作符来应对不同场合的应用?

const_castQ字面上理解是去const属性?
static_castQ命名上理解是静态类型{换。如int转换成char?
dynamic_castQ命名上理解是动态类型{换。如子类和父cM间的多态类型{换?
reinterpreter_castQ仅仅重新解释类型,但没有进行二q制的{换?
4U类型{换的格式Q如QTYPE B = static_cast(TYPE)(a)?nbsp; 阅读全文

日需博客 2011-08-03 13:57 发表评论
]]>
Windows开机登录认证与Gina DLLhttp://m.shnenglu.com/gezidan/archive/2011/08/03/152349.html日需博客日需博客Wed, 03 Aug 2011 05:41:00 GMThttp://m.shnenglu.com/gezidan/archive/2011/08/03/152349.htmlhttp://m.shnenglu.com/gezidan/comments/152349.htmlhttp://m.shnenglu.com/gezidan/archive/2011/08/03/152349.html#Feedback0http://m.shnenglu.com/gezidan/comments/commentRss/152349.htmlhttp://m.shnenglu.com/gezidan/services/trackbacks/152349.html阅读全文

日需博客 2011-08-03 13:41 发表评论
]]>
Kompex SQLite Wrapper for C++ - Exampleshttp://m.shnenglu.com/gezidan/archive/2011/08/02/152281.html日需博客日需博客Tue, 02 Aug 2011 06:12:00 GMThttp://m.shnenglu.com/gezidan/archive/2011/08/02/152281.htmlhttp://m.shnenglu.com/gezidan/comments/152281.htmlhttp://m.shnenglu.com/gezidan/archive/2011/08/02/152281.html#Feedback1http://m.shnenglu.com/gezidan/comments/commentRss/152281.htmlhttp://m.shnenglu.com/gezidan/services/trackbacks/152281.htmlIt shows a part of the functionality of the wrapper and how you can use it.
You can find more examples in the example application (contained in download package).


1. open a database and create a statement instance for sql queries/statements
// open database
Kompex::SQLiteDatabase *pDatabase = new Kompex::SQLiteDatabase("test.db", SQLITE_OPEN_READWRITE, 0);
// create statement instance for sql queries/statements
Kompex::SQLite  阅读全文

日需博客 2011-08-02 14:12 发表评论
]]>
青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            Ƶh| | ҹƷ| ŷۺ| ӰԺ.| ߹ۿ91Ʒһ| ѲŷƵ| һ | ŷɫaaӰ| ŷ| һѿ| 91þ۲ӰԺһ| Ʒһ߹ۿ| ŷһ| 9ɫƷ| 69˾ƷƵ| þþþþ91㽶| ûɫ| 99ƵƷ| ¾Ʒ| ŷձһ| þþþþþþ| У԰ɫƷ| ŷպ˾ƷӰԺ| 99˾Ʒ| aaպѾƷƵһ| ۺϴƬ69999| ձvaҹӰԺ| ޹ŷպ| Ʒ91| ɫ| þһ| ޹պŷͼƬ | ŷƬvaŷ߲| þþþþþþþþþþþþþ| ۺ| ɫվ| ҹþõӰ| ŷպѹۿһ| þۺϾɫŷۺϺݺ| ŷĻ| ۺɫһ| ӰԺ| þð91ҹ| ŷѹۿ| ޵Ӱ| ŷһ| þþžƵ| ŷ| 99һ| ҹƷþþþþþðƤ | ޾ƷŮ| ŷۺ͵| ŷۺϹ| ŷһ | ҹƷ| þѹۿ| ŷ | ޾Ʒþþþ| ŷۺ| һþaþþƷ| ŷרպƵ| ŷպҳ| ҹһ| պŷƵ| ޼Ʒ| һҹ| þۺɫ| һ͵| ȾƷƵ| Ʒһ߹ۿ| ߿ŷպ| һ߹ۿ| þۺϼ| һƷ߹ۿ | ҹŷƷaaaaa| ŷ ŷ պƵ| Ƶ| ŷݶƷ | þùƵ| þ˳| Ʒ߲| ޸徫Ʒг| ֻ| ŷƷ| һƵ| ӰӾžӰԺ߹ۿ| ޵Ӱѹۿ| þ99߹ۿ| ׾ƷƵ| һavӰ| һõþۺĻ| ޹av߹ۿ| ޹þþۺ| ŷһ| Ƶһ߹ۿ| һ߲ѹۿ| һ| þþƷþ˼˼| ҹƷƵ| ƷŮþþþþ2018| һþ| ҹƷӰԺ߹ۿ | պĻ| ޾Ʒһ | ޾Ʒŷ޾Ʒ| ۺպ| ŮӰ| þþþƷƵ| ҹӰԺ| þоƷƵ| ŷ߿Ƭaѹۿ| ŷպ123| þֻѹۿ| Ʒһҹҹҹ| þһ| Ʒþ77777| 91þþƷ91ɫ| ƵŷƵ| 9òƵƵƷ| ޼ӰԺ| þһĻ| þþþù˾Ʒҹ| Ʒ| ޼Ƶ| ŮƵ| ŷ޸Ⱥ| ŷŷҰŷƷ| ˳Ƶ| þƵƵ| ŷӰӾ߹ۿ| ߹ۿƵۺ| þþþþ97| þһ| ޾| ŷƵƷһ| Ƶһҳ| ŷպ㶮| ëƬ߿| պƵ| Ʒþþþþþþþֱ| һþaþþƷ| һþ| ŷպƵ| 99Ʒþþþþþþþ| Ůһ| Ʒaþþþ| ŷƷ| þۺϼ| ޾Ʒһav| ŷպƵ| ҹѸƵ| þþ91Ʒһ| ӰԺþ| ŷӰѹۿ| й޻ɫ| þ| Ƶ˹ۿwww| Ʒþþþþþþ| ŷһ| ޹ŷһͬ | ŷĻ| 99Ƶ߾ƷԲѹۿ| ŷպֱ| ݺ88ۺϾþþþۺ| ŷgayƵ| ۺ| ŷaaaa| þùƷ| ޾ƷƵ߲| ŮƷ| ŷŷۺ| ŷһ| 99ƷƵһ| þֻƷƵ| ŷŮ| ޾Ʒþþþþþþ| Ʒqvod| ţţӰӾþ| ҹ߹ۿһ| ޾Ʒ߹ۿ| ˾һ| Ʒþþþþþþþ | ŷŷۺ | 99ֻг˾Ʒ| 鶹91Ʒ| ŷһþþƷ| ޹av߹ۿ| ׾Ʒһ߹ۿ| ŷƵ| þۺϾþۺϾɫ| ɫۺ| պƵѹۿ| þƵֻоƷ| ŷ| ŷwww| Ƶ߲| ŷպƵһ | avӰ| պ޲|