锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲二区在线视频,亚洲人成网站在线播,亚洲影视在线播放http://m.shnenglu.com/czy463/archive/2014/03/13/206147.html闄堝織榪?/dc:creator>闄堝織榪?/author>Wed, 12 Mar 2014 19:06:00 GMThttp://m.shnenglu.com/czy463/archive/2014/03/13/206147.htmlhttp://m.shnenglu.com/czy463/comments/206147.htmlhttp://m.shnenglu.com/czy463/archive/2014/03/13/206147.html#Feedback0http://m.shnenglu.com/czy463/comments/commentRss/206147.htmlhttp://m.shnenglu.com/czy463/services/trackbacks/206147.html闃呰鍏ㄦ枃

]]>
C++鍗曚歡妯″紡鍙?qiáng)鍐呭瓨閲婃斁[杞澆]http://m.shnenglu.com/czy463/archive/2013/12/17/204844.html闄堝織榪?/dc:creator>闄堝織榪?/author>Mon, 16 Dec 2013 20:18:00 GMThttp://m.shnenglu.com/czy463/archive/2013/12/17/204844.htmlhttp://m.shnenglu.com/czy463/comments/204844.htmlhttp://m.shnenglu.com/czy463/archive/2013/12/17/204844.html#Feedback0http://m.shnenglu.com/czy463/comments/commentRss/204844.htmlhttp://m.shnenglu.com/czy463/services/trackbacks/204844.html杞澆緗戝潃:http://blog.csdn.net/windboyzsj/article/details/2790485
 1 #include <iostream.h> 
 2 class Singleton 
 3 { 
 4 public
 5 ~Singleton(){cout<<"singleton deconstruct"<<endl;} 
 6 static Singleton* Instance() 
 7 { 
 8   if (_instance == NULL) 
 9   { 
10    _instance = new Singleton(); 
11    static Cleaner cl; //寤惰繜鍒拌繖閲?nbsp;
12   } 
13   return _instance; 
14 } 
15 void Print(char* str) 
16 { 
17   cout<<"singleton print:"<<str<<endl; 
18 } 
19 private
20 Singleton(){cout<<"singleton construct"<<endl;} 
21 static Singleton* _instance; 
22 class Cleaner 
23 { 
24 public
25   Cleaner(){cout<<"cleaner construct"<<endl;} 
26   ~Cleaner() 
27   { 
28    cout<<"cleaner deconstruct"<<endl; 
29    if(Singleton::Instance()) 
30    delete Singleton::Instance(); 
31   } 
32 }; 
33 }; 
34 Singleton* Singleton::_instance = NULL; 
35 int main(int argc, char* argv[]) 
36 { 
37 Singleton::Instance()->Print("print 1"); 
38 Singleton::Instance()->Print("print 2"); 
39 return 0; 
40 }

]]>
SQLITE3 浣跨敤鎬葷粨[杞澆]http://m.shnenglu.com/czy463/archive/2013/12/16/204816.html闄堝織榪?/dc:creator>闄堝織榪?/author>Sun, 15 Dec 2013 16:01:00 GMThttp://m.shnenglu.com/czy463/archive/2013/12/16/204816.htmlhttp://m.shnenglu.com/czy463/comments/204816.htmlhttp://m.shnenglu.com/czy463/archive/2013/12/16/204816.html#Feedback0http://m.shnenglu.com/czy463/comments/commentRss/204816.htmlhttp://m.shnenglu.com/czy463/services/trackbacks/204816.html闃呰鍏ㄦ枃

]]>
鑷鐞唋isthttp://m.shnenglu.com/czy463/archive/2013/12/15/204812.html闄堝織榪?/dc:creator>闄堝織榪?/author>Sun, 15 Dec 2013 14:30:00 GMThttp://m.shnenglu.com/czy463/archive/2013/12/15/204812.htmlhttp://m.shnenglu.com/czy463/comments/204812.htmlhttp://m.shnenglu.com/czy463/archive/2013/12/15/204812.html#Feedback2http://m.shnenglu.com/czy463/comments/commentRss/204812.htmlhttp://m.shnenglu.com/czy463/services/trackbacks/204812.html
涓涓嚜澶勭悊鐨刲ist 鐢ㄩ斿澶?br />  1   1 //瀛愰」
  2   2 class autoItem
  3   3 {
  4   4 public:
  5   5     //澶勭悊
  6   6     virtual bool  proces() = 0;
  7   7     //寮瑰嚭
  8   8     virtual bool  ok() = 0; 
  9   9     //澶勭悊欏哄簭
 10  10     virtual int   Order(){return 0;}
 11  11 };
 12  12 enum sortType
 13  13 {
 14  14     ST_Input,
 15  15     ST_Custom
 16  16 };
 17  17 //鑷鐞唋ist
 18  18 class _autolist
 19  19 {
 20  20 public:
 21  21     _autolist( sortType _type );
 22  22     ~_autolist();
 23  23 
 24  24     //緇ф壙鍑芥暟
 25  25 public:
 26  26     //鍔犲叆澶勭悊搴忓垪
 27  27     virtual bool  push(autoItem *p);
 28  28     //鎵ц澶勭悊搴忓垪
 29  29     virtual bool  go();
 30  30     //娓呯悊鎵鏈?/span>
 31  31     virtual bool  clear(); 
 32  32 
 33  33     //
 34  34 protected:
 35  35     std::list<autoItem*> itemList;
 36  36     sortType _sortType;
 37  37 };
 38  38 
 39  39 
 40  40 _autolist::_autolist( sortType _type )
 41  41 {
 42  42     _sortType = _type;
 43  43 }
 44  44 
 45  45 _autolist::~_autolist()
 46  46 {
 47  47     clear();
 48  48 }
 49  49 
 50  50 bool _autolist::push( autoItem *p )
 51  51 {
 52  53     if (p == NULL) return false;
 53  54     switch (_sortType)
 54  55     {
 55  56     case ST_Input:
 56  57         {
 57  58             itemList.insert(itemList.end(),p);
 58  59             return true;
 59  60         }
 60  61     case ST_Custom:
 61  62         {
 62  63             if (itemList.size() == 0)
 63  64             {
 64  65                 itemList.push_back(p);
 65  66                 return true;
 66  67             }
 67  68             static std::list<autoItem*>::iterator it;
 68  69             it= itemList.begin();
 69  70             for (; it != itemList.end();it++)
 70  71             {
 71  72                 if ((*it)->Order() < p->Order())continue;
 72  73                 itemList.insert(it,p);
 73  74                 break;
 74  75             }
 75  76             return true;
 76  77         }
 77  78     default:
 78  80         return false;
 79  82     }
 80  83     return false;
 81  84 }
 82  85 
 83  86 bool _autolist::go()
 84  87 {
 85  88     static std::list<autoItem*>::iterator it;
 86  89     int nsize = itemList.size();
 87  90     it= itemList.begin();
 88  91     for (; it != itemList.end();)
 89  92     {
 90  93         (*it)->proces();
 91  94         if ( (*it)->ok())
 92  95             it = itemList.erase(it);
 93  96         else
 94  97             it++;
 95  98     }
 96  99     return true;
 97 100 }
 98 101 
 99 102 bool _autolist::clear()
100 103 {
101 104     itemList.clear();
102 105     return true;
103 106 }
104 107 
105 


]]>
gl鍜宒xhttp://m.shnenglu.com/czy463/archive/2013/04/16/199475.html闄堝織榪?/dc:creator>闄堝織榪?/author>Tue, 16 Apr 2013 03:34:00 GMThttp://m.shnenglu.com/czy463/archive/2013/04/16/199475.htmlhttp://m.shnenglu.com/czy463/comments/199475.htmlhttp://m.shnenglu.com/czy463/archive/2013/04/16/199475.html#Feedback0http://m.shnenglu.com/czy463/comments/commentRss/199475.htmlhttp://m.shnenglu.com/czy463/services/trackbacks/199475.html鐐?
   v1(x,y,z)           ->v1(x,y,-z)                      Z杞存柟鍚戜笉鍚?nbsp;                      DX:  z姝f柟鍚戝睆騫曞悜閲?nbsp;          OpengGL:  z姝f柟鍚戝睆騫曞悜澶?br />闈?
   face1(v1,v2,v3) -> face(v1,v3,v2)                姝i潰鐩稿弽                           DX:  闈㈡鏂瑰悜鏄『鏃墮拡           OpengGL:  闈㈡鏂瑰悜閫嗘椂閽?br />綰圭悊鍧愭爣
   tz(u,v)              -> tz(u,1.0f-z)                   (0,0)鐐逛笉鍚?nbsp;                      DX:  (0,0)宸︿笂瑙?nbsp;                  OpengGL:  (0,0)宸︿笅瑙?br />鐭╅樀:
   m(m00,...m33)   ->杞疆()                            ()                                    DX: 宸︽墜鍧愭爣緋?琛屽悜閲?nbsp;          OpenGL:  鍙蟲墜鍧愭爣緋?鍒楀悜閲?nbsp;

]]>
sqlite璇誨彇,瀛樺偍浜岃繘鍒舵暟鎹紙杞澆錛?/title><link>http://m.shnenglu.com/czy463/archive/2013/03/24/198771.html</link><dc:creator>闄堝織榪?/dc:creator><author>闄堝織榪?/author><pubDate>Sun, 24 Mar 2013 08:06:00 GMT</pubDate><guid>http://m.shnenglu.com/czy463/archive/2013/03/24/198771.html</guid><wfw:comment>http://m.shnenglu.com/czy463/comments/198771.html</wfw:comment><comments>http://m.shnenglu.com/czy463/archive/2013/03/24/198771.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://m.shnenglu.com/czy463/comments/commentRss/198771.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/czy463/services/trackbacks/198771.html</trackback:ping><description><![CDATA[     鎽樿: SQLite瀛樺彇浜岃繘鍒舵暟鎹?http://hi.baidu.com/ejoywx/blog/item/4d7b418c8677cc00b31bbae9.html)http://blog.sina.com.cn/s/blog_60f8483a0100ydaw.html Code highlighting produced by Actipro CodeHighlighter (freeware)h...  <a href='http://m.shnenglu.com/czy463/archive/2013/03/24/198771.html'>闃呰鍏ㄦ枃</a><img src ="http://m.shnenglu.com/czy463/aggbug/198771.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/czy463/" target="_blank">闄堝織榪?/a> 2013-03-24 16:06 <a href="http://m.shnenglu.com/czy463/archive/2013/03/24/198771.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>錛堣漿錛夛紙杞級濡備綍璋冭瘯MFC鐨勫唴瀛樻硠闇?/title><link>http://m.shnenglu.com/czy463/archive/2012/07/27/185360.html</link><dc:creator>闄堝織榪?/dc:creator><author>闄堝織榪?/author><pubDate>Fri, 27 Jul 2012 11:20:00 GMT</pubDate><guid>http://m.shnenglu.com/czy463/archive/2012/07/27/185360.html</guid><wfw:comment>http://m.shnenglu.com/czy463/comments/185360.html</wfw:comment><comments>http://m.shnenglu.com/czy463/archive/2012/07/27/185360.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/czy463/comments/commentRss/185360.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/czy463/services/trackbacks/185360.html</trackback:ping><description><![CDATA[<div id="hvzpftn" class="articalTitle"><!-- 姝f枃寮濮?--> </div> <div id="hvzpftn" class="articalContent " id="sina_keyword_ad_area2"> <p>VC++ IDE 鐨勯粯璁ょ姸鎬?VC6)鏄病鏈夊惎鐢ㄥ唴瀛樻硠婕忔嫻嬫満鍒剁殑錛屼篃灝辨槸璇村嵆浣挎煇孌典唬鐮佹湁鍐呭瓨娉勬紡錛岃皟璇曚細(xì)璇濈殑 Output 紿楀彛鐨?Debug 欏典笉浼?xì)杈撳嚭鏈夊厸_唴瀛樻硠婕忎俊鎭備綘蹇呴』璁懼畾浠ュ惎鐢ㄥ唴瀛樻硠婕忔嫻嬫満鍒躲?/p> <p><br /> <wbr><br />鎸変笅闈㈢殑鏂規(guī)硶浣跨敤璋冭瘯鍫嗗嚱鏁?br />鍦╔XXView.cpp涓坊鍔犱笅闈㈢矖浣撹</p> <p>浣犲啀鐪嬬湅杈撳嚭緇撴灉錛屾槸涓嶆槸鏈夊緢澶氱殑鍐呭瓨娉勬紡錛?/p> <p>#define _CRTDBG_MAP_ALLOC<br />#include<stdlib.h><br />#include<crtdbg.h></p> <p><br />CXXXView::~CXXXView()<br />{<br /> <wbr> <wbr> <wbr> <wbr> _CrtDumpMemoryLeaks();<br />}</p> <p>鏂囩珷鍑哄錛欴IY閮ㄨ惤(<a >http://www.diybl.com/course/3_program/c++/cppjs/2007925/73624.html</a>)</p> <p><font color="#808080"> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr></font> <font color="#000000">棣栧厛錛屽簲璇ユ槸MFC鎶ュ憡鎴戜滑鍙戠幇鍐呭瓨娉勬紡銆傛敞鎰忥細(xì)瑕佸榪愯鍑犳錛屼互紜畾杈撳嚭鐨勫唴瀹逛笉鍙橈紝鐗瑰埆鏄瘂}涔嬮棿鐨勬暟鍊鹼紝涓嶈兘鍙橈紝鍚﹀垯涓嬮潰鐨勬柟娉曞氨涓嶅ソ鐢ㄤ簡銆?br /><img title="錛堣漿錛夊浣曡皟璇昅FC鐨勫唴瀛樻硠闇? height="194" alt="image001.jpg" src="http://www.cnitblog.com/images/cnitblog_com/martin/image001.jpg" width="880" border="0" real_src="http://www.cnitblog.com/images/cnitblog_com/martin/image001.jpg" /><br /><br /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>鎴戜滑鏉ョ湅鐪嬶細(xì)</font></p> <div style="border-right: rgb(204,204,204) 1px solid; padding-right: 5px; border-top: rgb(204,204,204) 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: rgb(204,204,204) 1px solid; width: 98%; padding-top: 4px; border-bottom: rgb(204,204,204) 1px solid; background-color: rgb(238,238,238)"><span style="color: rgb(0,0,0)"><font color="#000000">F:\CodeSample\Test\TestPipe\LeakTest\MainFrm.cpp(</font></span> <span style="color: rgb(0,0,0)"><font color="#000000">54</font></span> <span style="color: rgb(0,0,0)"><font color="#000000">) <wbr>: <wbr>{</font></span> <span style="color: rgb(0,0,0)"><font color="#000000">86</font></span> <span style="color: rgb(0,0,0)"><font color="#000000">} <wbr>normal <wbr>block <wbr>at <wbr></font></span> <span style="color: rgb(0,0,0)"><font color="#000000">0x00422E80</font></span> <span style="color: rgb(0,0,0)"><font color="#000000">, <wbr></font></span> <span style="color: rgb(0,0,0)"><font color="#000000">10</font></span> <span style="color: rgb(0,0,0)"><font color="#000000"> <wbr>bytes <wbr></font></span> <span style="color: rgb(0,0,255)"><font color="#000000">long</font></span> <span style="color: rgb(0,0,0)"><font color="#000000">.<br /> <wbr>Data: <wbr></font></span> <span style="color: rgb(0,0,0)"><font color="#000000"><</font></span> <span style="color: rgb(0,0,0)"><font color="#000000"> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr></font></span> <span style="color: rgb(0,0,0)"><font color="#000000">></font></span> <span style="color: rgb(0,0,0)"><font color="#000000"> <wbr>1F <wbr>1F <wbr>1F <wbr>1F <wbr>1F <wbr>CD <wbr>CD <wbr>CD <wbr>CD <wbr>CD <wbr><br /></font></span></div> <p><font color="#000000"><br /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr><span style="color: rgb(0,0,0)">F:\CodeSample\Test\TestPipe\LeakTest\MainFrm.cpp(</span><span style="color: rgb(0,0,0)">54</span><span style="color: rgb(0,0,0)">) 鍛婅瘔鎴戜滑MFC璁や負(fù)鏄湪璇ユ枃浠剁殑54琛岋紝鍙戠敓浜嗗唴瀛樻硠婕忋備綘鍙屽嚮鏀硅灝卞彲浠ヨ漿鍒拌鏂囦歡鐨?4琛屼簡銆備絾鏄湁鏃跺欒繖涓淇℃伅騫朵笉鑳界敤鏉ュ噯紜垽鏂紝姣斿錛歁FC鍙兘鎶ュ憡Strcore.cpp鏂囦歡鐨勬煇琛岋紝瀹為檯涓婅繖鏄疌String鐨勫疄鐜板嚱鏁幫紝姝ゆ椂騫朵笉鐭ラ亾浠涔堟椂鍊欏彂鐢熶簡鍐呭瓨娉勬紡銆?br /><br /></span> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>姝ゆ椂鎴戜滑闇瑕佹洿澶氱殑淇℃伅銆傞偅涔堟垜浠湅鐪嬬揣鎺ュ叾鍚庣殑錛?br /><span style="color: rgb(0,0,0)"><br /></span></font></p> <div style="border-right: rgb(204,204,204) 1px solid; padding-right: 5px; border-top: rgb(204,204,204) 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: rgb(204,204,204) 1px solid; width: 98%; padding-top: 4px; border-bottom: rgb(204,204,204) 1px solid; background-color: rgb(238,238,238)"><span style="color: rgb(0,0,0)"><font color="#000000">{</font></span> <span style="color: rgb(0,0,0)"><font color="#000000">86</font></span> <span style="color: rgb(0,0,0)"><font color="#000000">} <wbr>normal <wbr>block <wbr>at <wbr></font></span> <span style="color: rgb(0,0,0)"><font color="#000000">0x00422E80</font></span> <span style="color: rgb(0,0,0)"><font color="#000000">, <wbr></font></span> <span style="color: rgb(0,0,0)"><font color="#000000">10</font></span> <span style="color: rgb(0,0,0)"><font color="#000000"> <wbr>bytes <wbr></font></span> <span style="color: rgb(0,0,255)"><font color="#000000">long</font></span> <span style="color: rgb(0,0,0)"><font color="#000000">.<br /> <wbr>Data: <wbr></font></span> <span style="color: rgb(0,0,0)"><font color="#000000"><</font></span> <span style="color: rgb(0,0,0)"><font color="#000000"> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr></font></span> <span style="color: rgb(0,0,0)"><font color="#000000">></font></span> <span style="color: rgb(0,0,0)"><font color="#000000"> <wbr>1F <wbr>1F <wbr>1F <wbr>1F <wbr>1F <wbr>CD <wbr>CD <wbr>CD <wbr>CD <wbr>CD <wbr><br /></font></span></div> <p><font color="#000000"><br /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>瀹冨憡璇夋垜浠細(xì)鍦ㄧ86嬈″垎閰嶇殑鍐呭瓨娌℃湁閲婃斁錛屼竴鍏辨湁10瀛楄妭錛屽唴瀹圭Щ16榪涘埗鏂瑰紡鎵撳嵃緇欐垜浠湅銆?br /><br /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>鏈変簡榪欎簺淇℃伅錛屾垜浠彲浠ュ紑濮嬭皟璇曞唴瀛樻硠婕忎簡銆?br /><br /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>鎸変笅F10鍦ㄧ▼搴忕殑鍒氬紑濮嬪錛屽仠涓嬫潵錛屾墦寮Watch紿楀彛錛?br /><br /><img title="錛堣漿錛夊浣曡皟璇昅FC鐨勫唴瀛樻硠闇? height="334" alt="image002.jpg" src="http://www.cnitblog.com/images/cnitblog_com/martin/image002.jpg" width="665" border="0" real_src="http://www.cnitblog.com/images/cnitblog_com/martin/image002.jpg" /><br /><br /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>鍦╓atch紿楀彛涓緭鍏ワ細(xì)<br /><br /></font></p> <div style="border-right: rgb(204,204,204) 1px solid; padding-right: 5px; border-top: rgb(204,204,204) 1px solid; padding-left: 4px; font-size: 13px; padding-bottom: 4px; border-left: rgb(204,204,204) 1px solid; width: 98%; padding-top: 4px; border-bottom: rgb(204,204,204) 1px solid; background-color: rgb(238,238,238)"><span style="color: rgb(0,0,0)"><font color="#000000">{,,msvcrtd.dll}_crtBreakAlloc</font></span></div> <p><font color="#000000"><br /> <wbr> <img title="錛堣漿錛夊浣曡皟璇昅FC鐨勫唴瀛樻硠闇? height="174" alt="image003.jpg" src="http://www.cnitblog.com/images/cnitblog_com/martin/image003.jpg" width="450" border="0" real_src="http://www.cnitblog.com/images/cnitblog_com/martin/image003.jpg" /><br /><br /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>鐒跺悗鏇存敼鍊間負(fù)涓婃枃鎻愬埌鐨勫垎閰嶆鏁幫細(xì)86<br /><br /><img title="錛堣漿錛夊浣曡皟璇昅FC鐨勫唴瀛樻硠闇? height="174" alt="image004.jpg" src="http://www.cnitblog.com/images/cnitblog_com/martin/image004.jpg" width="356" border="0" real_src="http://www.cnitblog.com/images/cnitblog_com/martin/image004.jpg" /><br /><br /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>鎺ョ潃鎸変笅F5緇х畫錛岀劧鍚庡湪絎?6嬈″垎閰嶇殑鏃跺欎細(xì)鍙戠敓涓柇錛?br /><br /><img title="錛堣漿錛夊浣曡皟璇昅FC鐨勫唴瀛樻硠闇? height="125" alt="image005.jpg" src="http://www.cnitblog.com/images/cnitblog_com/martin/image005.jpg" width="311" border="0" real_src="http://www.cnitblog.com/images/cnitblog_com/martin/image005.jpg" /><br /><br /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>鐒跺悗鎴戜滑鎵撳紑鍫嗘爤紿楀彛錛?br /><br /><img title="錛堣漿錛夊浣曡皟璇昅FC鐨勫唴瀛樻硠闇? height="315" alt="image006.jpg" src="http://www.cnitblog.com/images/cnitblog_com/martin/image006.jpg" width="326" border="0" real_src="http://www.cnitblog.com/images/cnitblog_com/martin/image006.jpg" /><img title="錛堣漿錛夊浣曡皟璇昅FC鐨勫唴瀛樻硠闇? height="174" alt="image007.jpg" src="http://www.cnitblog.com/images/cnitblog_com/martin/image007.jpg" width="356" border="0" real_src="http://www.cnitblog.com/images/cnitblog_com/martin/image007.jpg" /><br /><br /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>寰鍥炴煡鐪嬫渶榪戞垜浠嚜宸辯殑浠g爜錛屽弻鍑誨爢鏍堟垜浠嚜宸辯殑鍑芥暟閭d竴灞傦紝涓婂浘鏈夌豢鑹蹭笁瑙掔殑閭d竴灞傘傚氨瀹氫綅鍒版硠婕忔椂鍒嗛厤鐨勫唴瀛樹簡銆?br /><br /><img title="錛堣漿錛夊浣曡皟璇昅FC鐨勫唴瀛樻硠闇? height="418" alt="image008.jpg" src="http://www.cnitblog.com/images/cnitblog_com/martin/image008.jpg" width="729" border="0" real_src="http://www.cnitblog.com/images/cnitblog_com/martin/image008.jpg" /><br /></font></p> <p><font color="#000000"> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>涔嬪悗錛屽氨鏄湅浣犵殑緙栫爜鍔熷簳浜嗐?/font></p> <p><br /></p> <p><br /></p> <p><br /> <wbr></p> <h2><a name="viewpost1_TitleUrl">浣犱篃璁歌繕娌$敤榪囩殑vc++鐨勮皟璇曠殑鍔熻兘</a></h2> <p><font color="#000000">From: http://www.cnitblog.com/Raistlin/archive/2005/12/14/5380.html</font></p> <p>鍒氬垰鍦↖T鍗氬緗戦棽閫涚殑鏃跺欑湅鍒頒簡<a >瀛ょ嫭鐨勫</a>鐨勪竴鐗囨枃绔犮?a >濡備綍璋冭瘯MFC涓殑鍐呭瓨娉勬紡</a>銆嬶紝璁查亾鐢ㄨ緗畕,,msvcrtd.dll}_crtBreakAlloc<font style="background-color: rgb(255,255,255)"><strong>榪欎釜鍙橀噺</strong></font>鏉ヨ皟璇曞唴瀛樻硠闇茬殑闂銆?br /><br />鍦?a >How to use _crtBreakAlloc to debug a memory allocation</a>浣犲彲浠ユ壘鍒拌嫳鏂囩殑鏇村畬鏁寸殑鐗堟湰錛岄潤鎬侀摼鎺ュ拰鍔ㄦ佽繛鎺ュ埌C榪愯搴撶殑鍚嶇О鏄笉涓鏍風(fēng)殑<br />闈欐?_crtBreakAlloc<br />鍔ㄦ?{,,msvcr40d.dll}*__p__crtBreakAlloc() <wbr> (vc++4.0 鍜?.1鐗堟湰錛屼及璁℃病浜哄湪鐢ㄥ惂)<br /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>{,,msvcrtd.dll}*__p__crtBreakAlloc() <wbr> (Visual C++ 4.2 or later)<br /> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr> <wbr>{,,msvcrtd.dll}_crtBreakAlloc (濂藉儚榪欐牱涔熸槸鍙互鐨?<br /><br /><br />{,,msvcrtd.dll}__p__crtBreakAlloc()鏄釜浠涔堜笢瑗垮憿錛?br /><br />鏌ョ湅msdn绱㈠紩“Advanced Breakpoint”and you will find out...<br /><br />璇硶濡備笅錛?br />{[function],[source],[exe] } location<br />{[function],[source],[exe] } variable_name<br />{[function],[source],[exe] } expression_r_r<br />榪欎釜鏄垜杞殑鏃跺欑殑鍦板潃錛?a >http://blog.sina.com.cn/s/blog_630d564a0100gq5k.html</a></p></div><img src ="http://m.shnenglu.com/czy463/aggbug/185360.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/czy463/" target="_blank">闄堝織榪?/a> 2012-07-27 19:20 <a href="http://m.shnenglu.com/czy463/archive/2012/07/27/185360.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>(杞?ASSERT涓嶸ERIFY瀹忕殑鍖哄埆 http://m.shnenglu.com/czy463/archive/2012/07/17/183967.html闄堝織榪?/dc:creator>闄堝織榪?/author>Tue, 17 Jul 2012 15:38:00 GMThttp://m.shnenglu.com/czy463/archive/2012/07/17/183967.htmlhttp://m.shnenglu.com/czy463/comments/183967.htmlhttp://m.shnenglu.com/czy463/archive/2012/07/17/183967.html#Feedback0http://m.shnenglu.com/czy463/comments/commentRss/183967.htmlhttp://m.shnenglu.com/czy463/services/trackbacks/183967.html鍘熸枃鍦板潃錛?a >http://blog.csdn.net/liuchanghe/article/details/1425080

http://blog.vckbase.com/smileonce/articles/1184.html
錛堣繖涓摼鎺?>鍏充簬Debug鍜孯elease涔嬫湰璐ㄥ尯鍒?/font> 錛?/div>

浠婂ぉ鍏徃鏈夊悓浜嬮棶鎴慉SSERT涓嶸ERIFY瀹忔湁浠涔堝尯鍒紝铏界劧騫蟲椂甯哥敤榪欎袱涓畯瀵逛竴浜涘彉閲忓湪Debug妯″紡涓嬩綔鍒ゆ柇錛屼絾涓鏃惰繕鐪熺瓟涓嶄笂鏉ヤ簩鑰呬箣闂寸殑鍏蜂綋宸埆錛岀湅鏉ュ彧鏄煡鍏剁劧涓嶇煡鍏舵墍浠ョ劧銆傚悗鏉ユ煡浜嗕竴浜涜祫鏂欙紝鎬葷畻寮勬竻妤氫簡浜岃呬箣闂寸殑鍖哄埆錛屾暣鐞嗗悗涓庡悓浜嬩氦嫻佷簡涓鐣紝鎰熻鏀惰幏榪樻槸铔ぇ鐨勩備笅闈㈠鎴戠殑鐞嗚В榪涜浜嗘葷粨錛?/p>

    1 ASSERT涓嶸ERIFY瀹忓湪Debug妯″紡涓嬩綔鐢ㄥ熀鏈竴鑷達(dá)紝浜岃呴兘瀵硅〃杈懼紡鐨勫艱繘琛岃綆楋紝濡傛灉鍊間負(fù)闈?錛屽垯浠涔堜簨涔熶笉鍋氾紱濡傛灉鍊間負(fù)0錛屽垯杈撳嚭璇婃柇淇℃伅銆?/div>
    2 ASSERT涓嶸ERIFY瀹忓湪Release妯″紡涓嬫晥鏋滃畬鍏ㄤ笉涓鏍楓侫SSERT涓嶈綆楄〃杈懼紡鐨勫鹼紝涔熶笉浼?xì)杈撳國櫙婃柇淇℃伅锛沄ERIFY璁$畻琛ㄨ揪寮忕殑鍊鹼紝浣嗕笉綆″間負(fù)0榪樻槸闈?閮戒笉浼?xì)杈撳國櫙婃柇淇℃伅銆?/div>
VERIFY   涓嶢SSERT鐢ㄥ湪紼嬪簭璋冭瘯涓婂茍鏃犳湰璐ㄤ笂鐨勫尯鍒? 
  In   the   debug   version   of   MFC,   the   VERIFY   macro   evaluates   its   argument.   If   the   result   is   0,    
  the   macro   prints   a   diagnostic   message   and   halts   the   program.   If   the   condition   is   nonzero,    
  it   does   nothing.  
   
  In   the   release   version   of   MFC,   VERIFY   evaluates   the   expression   but   does   not   print   or   interrupt   the   program.   For   example,   if   the   expression   is   a   function   call,   the   call   will   be   made.  
鏂█綾誨瀷  瀹氫箟
ANSI C 鏂█ void assert(int expression );
C Runtime Lib 鏂█ _ASSERT( booleanExpression );
_ASSERTE( booleanExpression );
MFC 鏂█ ASSERT( booleanExpression );
VERIFY( booleanExpression );
ASSERT_VALID( pObject );
ASSERT_KINDOF( classname, pobject );
ATL 鏂█ ATLASSERT( booleanExpression );
 姝ゅ錛孴RACE() 瀹忕殑緙栬瘧涔熷彈 _DEBUG 鎺у埗銆?br /> 鎵鏈夎繖浜涙柇璦閮藉彧鍦?Debug鐗堜腑鎵嶈緙栬瘧錛岃屽湪 Release 鐗堜腑琚拷鐣ャ傚敮涓鐨勪緥澶栨槸 VERIFY() 銆備簨瀹炰笂錛岃繖浜涘畯閮芥槸璋冪敤浜?assert() 鍑芥暟錛屽彧涓嶈繃闄勫姞浜嗕竴浜涗笌搴撴湁鍏崇殑璋冭瘯浠g爜銆傚鏋滀綘鍦ㄨ繖浜涘畯涓姞鍏ヤ簡浠諱綍紼嬪簭浠g爜錛岃屼笉鍙槸甯冨皵琛ㄨ揪寮忥紙渚嬪璧嬪箋佽兘鏀瑰彉鍙橀噺鍊肩殑鍑芥暟璋冪敤 絳夛級錛岄偅涔?Release 鐗堥兘涓嶄細(xì)鎵ц榪欎簺鎿嶄綔錛屼粠鑰岄犳垚閿欒銆傚垵瀛﹁呭緢瀹規(guī)槗鐘繖綾婚敊璇紝鏌ユ壘鐨勬柟娉曚篃寰堢畝鍗曪紝鍥犱負(fù)榪欎簺瀹忛兘宸插湪涓婇潰鍒楀嚭錛屽彧瑕佸埄鐢?VC++ 鐨?Find in Files 鍔熻兘鍦ㄥ伐紼嬫墍鏈夋枃浠朵腑鎵懼埌鐢ㄨ繖浜涘畯鐨勫湴鏂瑰啀涓涓媯鏌ュ嵆鍙傚彟澶栵紝鏈変簺楂樻墜鍙兘榪樹細(xì)鍔犲叆 #ifdef _DEBUG 涔嬬被鐨勬潯浠剁紪璇戯紝涔熻娉ㄦ剰涓涓嬨?br /> 欏轟究鍊煎緱涓鎻愮殑鏄?strong> VERIFY() 瀹忥紝榪欎釜瀹忓厑璁鎬綘灝嗙▼搴忎唬鐮佹斁鍦ㄥ竷?yōu)當(dāng)琛ㄨ緫旨忛噷銆傝繖涓畯閫氬父鐢ㄦ潵媯鏌?Windows API 鐨勮繑鍥炲箋傛湁浜涗漢鍙兘涓鴻繖涓師鍥犺屾互鐢?VERIFY() 錛屼簨瀹炰笂榪欐槸鍗遍櫓鐨勶紝鍥犱負(fù) VERIFY() 榪濆弽浜嗘柇璦鐨勬濇兂錛屼笉鑳戒嬌紼嬪簭浠g爜鍜岃皟璇曚唬鐮佸畬鍏ㄥ垎紱伙紝鏈緇堝彲鑳戒細(xì)甯︽潵寰堝楹葷儲銆傚洜姝わ紝涓撳浠緩璁敖閲忓皯鐢ㄨ繖涓畯銆?/div>


]]> 青青草原综合久久大伊人导航_色综合久久天天综合_日日噜噜夜夜狠狠久久丁香五月_热久久这里只有精品
  • <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>
              国产精品久久综合| 激情婷婷欧美| 日韩亚洲国产欧美| 亚洲高清久久久| 亚洲一区二区三区免费视频| 在线观看国产日韩| 国产精品少妇自拍| 欧美大胆成人| 欧美激情一区在线| 蜜臀va亚洲va欧美va天堂| 欧美在线视频一区| 国产精品稀缺呦系列在线| 久久先锋资源| 欧美mv日韩mv国产网站| 亚洲第一福利社区| 欧美激情久久久久久| 久热精品在线视频| 久久国产精品一区二区三区| 亚洲自拍偷拍网址| 亚欧美中日韩视频| 久久精品日产第一区二区| 久久精品视频在线观看| 久久久久久午夜| 欧美精品在线极品| 国产精品视频yy9099| 国产欧美一区二区三区久久| 国产精品一区二区三区久久久| 国产精品揄拍一区二区| 亚洲区免费影片| 欧美福利小视频| 国产精品区免费视频| 亚洲一区二区三区成人在线视频精品| 亚洲精品一二三区| 久久激情视频| 国产精品推荐精品| 一本色道久久综合亚洲精品小说| 亚洲欧美日韩区 | 亚洲视频axxx| 欧美在线日韩| 日韩视频在线一区| 久久婷婷国产综合尤物精品| 欧美视频免费看| 午夜亚洲伦理| 欧美日韩一区二区欧美激情| 亚洲一级网站| 欧美丝袜一区二区| 99在线精品视频| 亚洲欧洲精品一区二区精品久久久 | 99这里只有精品| 久久国产夜色精品鲁鲁99| 亚洲激情另类| 欧美日韩成人综合在线一区二区| 亚洲国产一区二区三区在线播 | 国产亚洲欧美另类中文| 午夜精品影院| 亚洲综合日韩在线| 亚洲字幕一区二区| 国产亚洲制服色| 欧美日韩在线观看视频| 久久精品国产2020观看福利| 小黄鸭精品密入口导航| 亚洲一区亚洲| 国产一区美女| 亚洲人成高清| 国产精品毛片大码女人| 欧美jizz19hd性欧美| 欧美日韩精品一区二区在线播放| 亚洲在线观看免费视频| 久久裸体艺术| 欧美一区激情视频在线观看| 欧美 日韩 国产在线| 欧美日韩免费在线| 久久视频国产精品免费视频在线| 麻豆久久精品| 日韩视频中文字幕| 欧美高清在线播放| 国产精品一二三四区| 日韩亚洲欧美成人| 日韩视频二区| 麻豆成人在线观看| 久久九九电影| 国产欧美日韩精品a在线观看| 亚洲精品久久| 亚洲精品美女在线观看播放| 久久精品国产一区二区三区免费看| 亚洲欧美日本国产有色| 欧美日韩免费视频| 亚洲视频网在线直播| 中文日韩欧美| 国产精品羞羞答答| 欧美一区二区高清| 麻豆成人小视频| 黑人极品videos精品欧美裸| 久久精品国产免费观看| 亚洲一区二区精品在线观看| 欧美日韩直播| 亚洲欧美在线免费观看| 久久久久久久久久久久久女国产乱 | 久热精品视频在线观看| 亚洲激情av| 亚洲欧美日韩视频二区| 日韩视频亚洲视频| 久久国产欧美日韩精品| 国产在线高清精品| 亚洲欧美在线观看| 国产欧美一区二区精品婷婷| 久久亚洲视频| 黑人巨大精品欧美一区二区小视频| 久久激情网站| 9i看片成人免费高清| 久久久午夜电影| 亚洲欧美国产日韩中文字幕| 亚洲国产精品女人久久久| 国产精品免费观看在线| 欧美精品日韩一区| 免费观看日韩| 久久久噜噜噜久久| 久久精品日产第一区二区| 亚洲免费婷婷| 亚洲欧美日韩精品在线| 亚洲福利专区| 欧美成ee人免费视频| 久久综合九色九九| 另类av导航| 欧美99在线视频观看| 久久一区国产| 免费毛片一区二区三区久久久| 99精品99| 一二三区精品| 亚洲欧美日韩一区二区| 午夜免费日韩视频| 美女网站久久| 亚洲精品日韩一| 亚洲综合欧美日韩| 久久精品一级爱片| 欧美激情一区二区久久久| 欧美日韩国产天堂| 国产亚洲欧美一区二区| 激情成人综合网| 亚洲视频在线观看免费| 久久成人精品一区二区三区| 国产精品无码专区在线观看 | 久久综合中文字幕| 欧美h视频在线| 日韩天堂在线视频| 狠狠色狠狠色综合日日五| 亚洲一区二区伦理| 欧美成人国产一区二区| 国产精品每日更新在线播放网址| 国产一区亚洲一区| 午夜久久久久久| 亚洲国产精品第一区二区三区 | 亚洲精品少妇网址| 午夜在线视频一区二区区别| 欧美激情国产精品| 久久亚洲精品视频| 国内精品嫩模av私拍在线观看 | 欧美午夜精品久久久久免费视| 最新日韩av| 亚洲欧美日韩中文视频| 国产一区二区三区黄| 亚洲香蕉网站| 亚洲国产成人久久| 久久亚洲午夜电影| 久久影音先锋| 亚洲国产mv| 99国产精品私拍| 欧美大片在线看免费观看| 亚洲成色www8888| 欧美成人国产| 欧美成人国产一区二区| 日韩亚洲综合在线| 亚洲精品影视| 国产乱码精品一区二区三区五月婷 | 亚洲激情在线视频| 亚洲高清123| 国产精品v日韩精品v欧美精品网站| 久久精品成人一区二区三区蜜臀| 亚洲成人中文| 亚洲美女色禁图| 国产日韩三区| 欧美大胆人体视频| 欧美精品一区二区三区高清aⅴ| 亚洲精品麻豆| 久久综合亚洲社区| 欧美日韩情趣电影| 久久精视频免费在线久久完整在线看| 久久久久国产精品午夜一区| 亚洲另类春色国产| 欧美在线视频一区二区三区| 亚洲视频精选| 欧美精品九九| 欧美国产日韩一区二区三区| 国产精品美女久久福利网站| 欧美肥婆bbw| 一区视频在线播放| 久久成人精品视频| 久久久999国产| 影音先锋久久久| 久久视频国产精品免费视频在线|