锘??xml version="1.0" encoding="utf-8" standalone="yes"?>色欲综合久久躁天天躁,久久精品免费网站网,精品多毛少妇人妻AV免费久久http://www.shnenglu.com/wangjs720/category/5126.htmlzh-cnSat, 26 Sep 2009 06:10:46 GMTSat, 26 Sep 2009 06:10:46 GMT60鏈夋剰鎬濈殑鑵捐闈㈣瘯http://www.shnenglu.com/wangjs720/archive/2009/09/23/97033.html鎶槦鎴存湀鎶槦鎴存湀Wed, 23 Sep 2009 09:35:00 GMThttp://www.shnenglu.com/wangjs720/archive/2009/09/23/97033.htmlhttp://www.shnenglu.com/wangjs720/comments/97033.htmlhttp://www.shnenglu.com/wangjs720/archive/2009/09/23/97033.html#Feedback1http://www.shnenglu.com/wangjs720/comments/commentRss/97033.htmlhttp://www.shnenglu.com/wangjs720/services/trackbacks/97033.html
T錛氳璇撮氳繃WAP鎺ュ叆鐐硅繛鎺ヤ竴涓湇鍔″櫒鐨勮繃紼嬨?
W錛氬垵濮嬪寲WinSock搴擄紞璋冪敤socket()鍒涘緩涓涓猻ocket,璋冪敤connect榪炴帴10.0.0.172鏈嶅姟鍣紝鐒跺悗鍙戦佷竴涓狢ONNECT璇鋒眰榪炴帴鐩爣鏈嶅姟鍣?..(琚墦鏂?.
  闃呰鍏ㄦ枃

]]>
Dev Toolshttp://www.shnenglu.com/wangjs720/archive/2009/08/28/94707.html鎶槦鎴存湀鎶槦鎴存湀Fri, 28 Aug 2009 14:43:00 GMThttp://www.shnenglu.com/wangjs720/archive/2009/08/28/94707.htmlhttp://www.shnenglu.com/wangjs720/comments/94707.htmlhttp://www.shnenglu.com/wangjs720/archive/2009/08/28/94707.html#Feedback0http://www.shnenglu.com/wangjs720/comments/commentRss/94707.htmlhttp://www.shnenglu.com/wangjs720/services/trackbacks/94707.htmlastyle
Artistic Style is a reindenter and reformatter of C, C++, C# and Java source code.

autoconf
Development version of the automatic configure script builder.

automake
A tool for generating GNU-compliant Makefiles.

bashdb
Debugger for bash scripts

cppcheck
A tool for static C/C++ code analysis

doxygen
A documentation system for C++, C, Java, Objective-C, IDL and to some extent PHP, C# and D.

gcc-tools-autoconf
automatic configure script builder

gcc-tools-automake
a tool for generation GNU-compliant Makefiles.

git
Fast Version Control System

glib-devel
Gnome C function library

indent
C/C++ language source code formatting program

libiconv
GNU character set conversion library and utilities.

libjpeg-devel
A library for manipulationg JPEG image format files.

libpng
PNG library.

pcre-devel
Perl-Compatible Regular Expressions.

]]>
gflags - a debugging story http://www.shnenglu.com/wangjs720/archive/2009/07/14/90012.html鎶槦鎴存湀鎶槦鎴存湀Tue, 14 Jul 2009 04:47:00 GMThttp://www.shnenglu.com/wangjs720/archive/2009/07/14/90012.htmlhttp://www.shnenglu.com/wangjs720/comments/90012.htmlhttp://www.shnenglu.com/wangjs720/archive/2009/07/14/90012.html#Feedback0http://www.shnenglu.com/wangjs720/comments/commentRss/90012.htmlhttp://www.shnenglu.com/wangjs720/services/trackbacks/90012.htmlI hate crashes that disappear when run under the debugger and I had one when
porting mupdf to Windows.

It helps to know that there鈥檚 at least one reason for a changed behavior under
the debugger: it automatically triggers using debugging heap. While debugging
heap usually helps find problems, sometimes it does the opposite by changing
the details of memory allocation.

One helpful tool when debugging memory problems on Windows is gflags which can
enable page heap instrumentation for a given program. It works by putting each
allocation into a separate region of memory and putting a non-readable page
right after that. Also, upon freeing it makes the memory unreadable. That way
an overwrite of memory block while it鈥檚 still being used or accessing the
memory after it was freed will cause immediate crash.

The downside is that using gflags uses much more memory. But in those days of
cheap gigabytes it鈥檚 not a problem that can鈥檛 be solved with a couple hundred
bucks.

Basic usage of gflags.exe is simple:
gflags /p /full /enable foo.exe

From now on foo.exe will always be run with this instrumentation turned on. To
disable, do
gflags /p /disable foo.exe

To see which programs have page heap enabled, do gflags /p. gflags offers many
other option and you can learn about them via gflags /?. If you run gflags
without any options, you鈥檒l get a (very confusing) GUI.

It worked like a charm. I got a crash on accessing freed memory and all I had
to do was to backtrack to where this memory was allocated to figure out the
problem.

reference: http://blog.kowalczyk.info/article/gflags-a-debugging-story.html



]]>
浣跨敤vs2005(vc8)緙栬瘧log4cpp-0.3.5rc3http://www.shnenglu.com/wangjs720/archive/2008/04/13/47002.html鎶槦鎴存湀鎶槦鎴存湀Sun, 13 Apr 2008 14:22:00 GMThttp://www.shnenglu.com/wangjs720/archive/2008/04/13/47002.htmlhttp://www.shnenglu.com/wangjs720/comments/47002.htmlhttp://www.shnenglu.com/wangjs720/archive/2008/04/13/47002.html#Feedback0http://www.shnenglu.com/wangjs720/comments/commentRss/47002.htmlhttp://www.shnenglu.com/wangjs720/services/trackbacks/47002.html

闂錛氱敱浜巐og4cpp-0.3.5rc3浠呮彁渚涗簡vc6鐨勫伐紼嬫枃浠訛紝鍥犳錛屼嬌鐢╲s2005鎵撳紑鍚庯紝闇瑕佽繘琛岃漿鎹€備絾鏄漿鎹㈠悗錛屼笉鑳芥紜紪璇戯紝鎻愮ずCustom Build Step鏃跺嚭鐜頒簡閿欒銆?

鍒嗘瀽錛氬洜涓簂og4cpp鍦ㄧ敓鎴怤TEventLogAppender.dll鏃訛紝闇瑕佽繛鎺TEventLogCategories.mc鏂囦歡銆傛墍浠ワ紝欏圭洰璁劇疆浜嗚嚜瀹氫箟鐨勭敓鎴愭楠ゅ幓鐢熸垚NTEventLogAppender.dll銆備絾浠巚c6鐨勫伐紼嬫枃浠惰漿鎹㈡椂錛岃繖浜涙楠ゅ嵈娌℃湁姝g‘鐨勮漿鎹㈣繃鏉ャ備粠鑰屽嚭鐜頒笂榪伴棶棰樸?/p>

瑙e喅鏂規(guī)硶錛氶噸鏂板~鍐機(jī)ustom Build Step欏廣?/p>

鍏朵腑錛孋ommandLine濉啓浠ヤ笅鍐呭錛?/p>

if not exist $(OutDir) md $(OutDir)
"mc.exe" -h $(OutDir) -r $(OutDir) $(SolutionDir)NTEventLogCategories.mc
"RC.exe" -r -fo $(OutDir)\$(InputName).res $(ProjectDir)\$(InputName).rc
"link.exe" /MACHINE:IX86 -dll -noentry -out:$(OutDir)\NTEventLogAppender.dll $(OutDir)\$(InputName).res

Outputs濉啓錛?(OutDir)\NTEventLogAppender.dll

閫傜敤鑼冨洿錛歭og4cpp欏圭洰銆乴og4cppDLL欏圭洰鐨凞ebug鍜孯elease閰嶇疆銆傚悓鏃訛紝璇ユ柟娉曢傜敤浜巚s2003(vc7.1)銆?/p>

鍘熸枃鍑哄錛?br />http://www.shnenglu.com/ace/archive/2007/01/27/18050.html

]]>
big-endian鍜宭ittle-endianhttp://www.shnenglu.com/wangjs720/archive/2008/03/06/43823.html鎶槦鎴存湀鎶槦鎴存湀Thu, 06 Mar 2008 08:13:00 GMThttp://www.shnenglu.com/wangjs720/archive/2008/03/06/43823.htmlhttp://www.shnenglu.com/wangjs720/comments/43823.htmlhttp://www.shnenglu.com/wangjs720/archive/2008/03/06/43823.html#Feedback0http://www.shnenglu.com/wangjs720/comments/commentRss/43823.htmlhttp://www.shnenglu.com/wangjs720/services/trackbacks/43823.html涓涓緥瀛愶細(xì)
濡傛灉鎴戜滑灝?/span> 0x1234abcd 鍐欏叆鍒頒互 0x0000 寮濮嬬殑鍐呭瓨涓紝鍒欑粨鏋滀負(fù):

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 big-endian 聽聽little-endian
0x0000聽聽聽聽聽聽聽聽聽 0x12聽聽聽聽聽聽聽聽聽聽聽 0xcd
0x0001聽聽聽聽聽聽聽聽聽 0x34聽聽聽聽聽聽聽聽聽聽聽 0xab
0x0002 聽聽聽聽聽聽聽聽 0xab聽聽聽聽聽聽聽聽聽聽聽 0x34
0x0003聽聽聽聽聽聽聽聽聽 0xcd聽聽聽聽聽聽聽聽聽聽聽聽0x12


]]>
鏁扮粍鐨勫紩鐢?/title><link>http://www.shnenglu.com/wangjs720/archive/2007/09/10/31927.html</link><dc:creator>鎶槦鎴存湀</dc:creator><author>鎶槦鎴存湀</author><pubDate>Mon, 10 Sep 2007 04:09:00 GMT</pubDate><guid>http://www.shnenglu.com/wangjs720/archive/2007/09/10/31927.html</guid><wfw:comment>http://www.shnenglu.com/wangjs720/comments/31927.html</wfw:comment><comments>http://www.shnenglu.com/wangjs720/archive/2007/09/10/31927.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/wangjs720/comments/commentRss/31927.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/wangjs720/services/trackbacks/31927.html</trackback:ping><description><![CDATA[璞″涓嬪畾涔夊氨寰楀埌涓涓暟緇勭殑寮曠敤<br>        綾誨瀷鍚?錛?amp;鍙橀噺鏄庯級(jí)[N]錛?br>        <br>        瀹炰緥<br>        int int_array[10];<br>        int (&int_ref)[10] = int_array;<br>        榪欐牱灝卞緱鍒頒簡涓涓暟緇勭殑搴旂敤<br><br>        鍦ㄥ嚱鏁扮殑澹版槑涓敤鏁扮粍鐨勫紩鐢ㄥ畾涔夛紝灝變笉鎬曟暟緇勯鍖栦簡銆傚涓?br>        for_each( int (&int_ref)[10] )<br>        {<br>                 for( int i=0; i<10; ++i )<br>                         std::cout << int_ref[i] << std::endl;<br>         } <p>         int main( int argc, char* argv[] )<br>         {<br>                 int int_array[] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 }<br>         <br>                 for_each( int_array );<br>                 return 0;<br>          }</p> <p>          鍦ㄤ笂闈㈢殑浠g爜涓紝濡傛灉浣犱紶鍏ヤ笉鏄?0涓昂瀵哥殑鏁扮粍錛屾槸緙栬瘧閫氫笉榪囩殑銆備唬鐮佺殑瀹夊叏鎬ф彁楂樹簡銆?nbsp;  <br><br>         鎯寵瀹氫箟涓涓暟緇勫紩鐢ㄧ被鍨嬶紝鏂規(guī)硶濡備笅<br>         typedef 綾誨瀷鏄?(&鏁扮粍寮曠敤綾誨瀷鏄?[N];<br><br>         瀹炰緥<br>         typedef int (&Array_Ref)[10];<br>         Array_Ref灝辨槸涓涓暟緇勭殑寮曠敤綾誨瀷浜嗐?/p> <img src ="http://www.shnenglu.com/wangjs720/aggbug/31927.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/wangjs720/" target="_blank">鎶槦鎴存湀</a> 2007-09-10 12:09 <a href="http://www.shnenglu.com/wangjs720/archive/2007/09/10/31927.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>C++瑙f瀽XML錛峊inyXmlhttp://www.shnenglu.com/wangjs720/archive/2007/09/06/31686.html鎶槦鎴存湀鎶槦鎴存湀Thu, 06 Sep 2007 04:22:00 GMThttp://www.shnenglu.com/wangjs720/archive/2007/09/06/31686.htmlhttp://www.shnenglu.com/wangjs720/comments/31686.htmlhttp://www.shnenglu.com/wangjs720/archive/2007/09/06/31686.html#Feedback0http://www.shnenglu.com/wangjs720/comments/commentRss/31686.htmlhttp://www.shnenglu.com/wangjs720/services/trackbacks/31686.htmlHomepage: http://www.grinninglizard.com/tinyxml/
Download錛歨ttp://sourceforge.net/projects/tinyxml  闃呰鍏ㄦ枃

]]>
久久中文娱乐网| 国产ww久久久久久久久久| 久久亚洲av无码精品浪潮| 香蕉久久永久视频| 久久久久久人妻无码| 狠狠色丁香婷婷综合久久来来去| 国产精品99久久久精品无码| 久久九九亚洲精品| 久久一区二区免费播放| 亚洲欧洲日产国码无码久久99| 久久www免费人成看国产片| 久久亚洲精品无码VA大香大香| 久久国产精品无码一区二区三区| 久久93精品国产91久久综合| 久久亚洲美女精品国产精品| 久久天天躁狠狠躁夜夜2020一| 久久精品中文字幕有码| 办公室久久精品| 久久无码人妻一区二区三区| 亚洲欧美久久久久9999| 色欲综合久久躁天天躁| 99精品国产在热久久无毒不卡 | 国产精品久久成人影院| 日本精品久久久久影院日本| 国产精品久久毛片完整版| 久久www免费人成看片| 久久综合九色欧美综合狠狠| 日本精品久久久久中文字幕| 欧美va久久久噜噜噜久久| 久久国语露脸国产精品电影| 国产巨作麻豆欧美亚洲综合久久| 久久精品九九亚洲精品| 少妇高潮惨叫久久久久久| 漂亮人妻被中出中文字幕久久| 欧美粉嫩小泬久久久久久久| 久久久精品波多野结衣| 国产精品狼人久久久久影院| 国产真实乱对白精彩久久| 草草久久久无码国产专区| 婷婷综合久久狠狠色99h| 亚洲精品美女久久777777|