锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产精品无码久久久久久,91性高湖久久久久,久久久精品国产免大香伊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喅鏂規硶錛氶噸鏂板~鍐機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涓涓緥瀛愶細
濡傛灉鎴戜滑灝?/span> 0x1234abcd 鍐欏叆鍒頒互 0x0000 寮濮嬬殑鍐呭瓨涓紝鍒欑粨鏋滀負:

聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽聽 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;鍙橀噺鏄庯級[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>         鎯寵瀹氫箟涓涓暟緇勫紩鐢ㄧ被鍨嬶紝鏂規硶濡備笅<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  闃呰鍏ㄦ枃

]]>
日韩AV无码久久一区二区| 久久久久亚洲精品中文字幕| 久久综合香蕉国产蜜臀AV| 99久久国产热无码精品免费| 精品欧美一区二区三区久久久| 日韩va亚洲va欧美va久久| 伊人久久大香线蕉AV色婷婷色| 99国产欧美精品久久久蜜芽| 狠狠综合久久综合中文88 | 色妞色综合久久夜夜| 国产精品18久久久久久vr | 亚洲国产成人乱码精品女人久久久不卡 | 欧美激情精品久久久久久久九九九| 一本色道久久综合狠狠躁篇 | 久久九九全国免费| 欧美伊人久久大香线蕉综合| 国产成人久久精品一区二区三区| 欧美久久亚洲精品| 国产精品久久国产精麻豆99网站| 久久国产亚洲精品| 久久国产高清一区二区三区| 996久久国产精品线观看| 久久99九九国产免费看小说| 91久久精品电影| 亚洲欧美精品伊人久久| www性久久久com| 韩国免费A级毛片久久| 日韩精品久久无码中文字幕| 香蕉久久夜色精品国产2020| 久久久久国色AV免费观看| 2020最新久久久视精品爱| 久久电影网一区| 久久精品国内一区二区三区| 久久久久久国产精品免费无码 | 久久综合九色综合欧美就去吻| 99久久人人爽亚洲精品美女| 精品国产福利久久久| 久久久久久九九99精品| 91久久精一区二区三区大全| avtt天堂网久久精品| 久久精品成人国产午夜|