锘??xml version="1.0" encoding="utf-8" standalone="yes"?>国产精品久久精品,91久久精品国产免费直播,狠狠综合久久综合88亚洲http://m.shnenglu.com/YGFaith/category/9225.htmlzh-cnWed, 31 Dec 2008 08:23:52 GMTWed, 31 Dec 2008 08:23:52 GMT60The Standard C Library http://m.shnenglu.com/YGFaith/archive/2008/12/31/70846.htmlYGYGWed, 31 Dec 2008 05:38:00 GMThttp://m.shnenglu.com/YGFaith/archive/2008/12/31/70846.htmlhttp://m.shnenglu.com/YGFaith/comments/70846.htmlhttp://m.shnenglu.com/YGFaith/archive/2008/12/31/70846.html#Feedback0http://m.shnenglu.com/YGFaith/comments/commentRss/70846.htmlhttp://m.shnenglu.com/YGFaith/services/trackbacks/70846.html闃呰鍏ㄦ枃

YG 2008-12-31 13:38 鍙戣〃璇勮
]]>
[娓告垙寮鍙慮宸ュ巶妯″紡http://m.shnenglu.com/YGFaith/archive/2008/09/09/61432.htmlYGYGTue, 09 Sep 2008 15:37:00 GMThttp://m.shnenglu.com/YGFaith/archive/2008/09/09/61432.htmlhttp://m.shnenglu.com/YGFaith/comments/61432.htmlhttp://m.shnenglu.com/YGFaith/archive/2008/09/09/61432.html#Feedback0http://m.shnenglu.com/YGFaith/comments/commentRss/61432.htmlhttp://m.shnenglu.com/YGFaith/services/trackbacks/61432.html娓告垙緙栫▼鏄垜涓氫綑鐨勭埍濂斤紝涔熷彲浠ユ彁楂樺緙栫▼鐨勫叴瓚o紝姣忓綋鎴戞湁鏃墮棿鐨勬椂鍊欏氨浼氱紪鍐欐父鎴忥紝鍩轟簬鍥劇墖鐨勯棶棰樻墍浠ラ閫夊皬娓告垙銆傝繖鏄垜姣曚笟鍚庣浜屾灝忔父鎴忥紝鐩告瘮涓婁竴嬈懼厖鍒嗙殑榪愮敤浜嗛潰鍚戝璞$殑鎶鏈紝璁╂垜浜彈涓庝笉鏂仛綾葷殑瀹屽杽,鐗瑰埆鎻愬嚭鐨勬槸浣跨敤閫掑綊鎶鏈嬌寰楃畻娉曟洿鍔犵畝媧佺‘瀹炴槸涓緢涓嶉敊鐨勬妧鏈?姣斿錛氭父鎴忎腑鐨勫湴鍥炬暣琛屾秷闄ゅ垽鏂互鍙婃秷闄ゃ?/span>

鐩墠鐨勮璁℃儏鍐靛涓?
(鏈夊啓娌″繀瑕佺殑鍑芥暟鐪佺暐浜?鍒濇浣跨敤UML鍥?

姝よ創涓昏鏄兂鎺㈣綾葷殑璁捐,鏍囬涓婂啓浜嗗伐鍘傛ā寮?榪欓噷鍙槸綆鍗曠殑鎶奤I鍒涘緩鏀懼埌鍙﹀涓涓湴鏂圭艦浜?涓ユ牸鏉ヨ搴旇涓嶇畻鏄粈涔堝伐鍘?浣嗘槸涓昏鏄唬鐮?br>鏄撹緇存姢鎬ч珮灝卞彲浠ヤ簡.寮鍙戠幆澧冿細VS2005錛學IN32銆?C++銆丏X9


濡傛灉瑕佸鍔犲叾浠栨寜閽彧瑕佺戶鎵縄mageUI,鍜屽疄鐜板熀綾葷殑瀛樿櫄鎷熷嚱鏁板氨鍙互銆傚熀綾葷殑浜嬩歡瑙﹀彂濡備笅浠g爜銆?br>

PUG_BTN_STAT CImageUI::OnEven(UINT msg, WPARAM wParam, LPARAM lParam)
{
    POINTS xy;
    xy 
= MAKEPOINTS(lParam);
    POINT xy2;
    xy2.x 
= xy.x;
    xy2.y 
= xy.y;

    
switch(msg)
    {      
    
case WM_MOUSEMOVE:
           {
            
if(PtInRect(&_displaySize,xy2))
            {
                OnPass();
                
return PASS;
            }
           }
           
break;
      
case WM_LBUTTONDOWN:
           {
            
if(PtInRect(&_displaySize,xy2))
            {
                OnClick();
                
return ONCLICK;
            }
           }
           
break;
      
case WM_LBUTTONUP:
          {
            
if(PtInRect(&_displaySize,xy2))
            {
                OnClickOut();
                
return ONCLICKOUT;
            }
          }
          
break;
    }

    OnPassOut();
    
return COMMAND;
}


娓告垙鍥劇墖濡備笅:




娓告垙涓嬭澆:
/Files/YGFaith/elsfkGame.rar

YG 2008-09-09 23:37 鍙戣〃璇勮
]]>
瑙傚療鑰呮ā寮?Subject/Observer) http://m.shnenglu.com/YGFaith/archive/2008/08/29/60363.htmlYGYGFri, 29 Aug 2008 07:49:00 GMThttp://m.shnenglu.com/YGFaith/archive/2008/08/29/60363.htmlhttp://m.shnenglu.com/YGFaith/comments/60363.htmlhttp://m.shnenglu.com/YGFaith/archive/2008/08/29/60363.html#Feedback4http://m.shnenglu.com/YGFaith/comments/commentRss/60363.htmlhttp://m.shnenglu.com/YGFaith/services/trackbacks/60363.html瀹氫箟錛氬璞¢棿鐨勪竴瀵瑰鐨勪緷璧栧叧緋伙紝褰撲竴涓璞$殑鐘舵佸彂鐢熸敼鍙樻椂錛屾墍鏈変緷璧栦簬瀹冪殑瀵硅薄閮藉緱鍒伴氱煡騫惰鑷姩鏇存柊銆?nbsp;

鍔熻兘錛氭悳绱㈡暟鎹簱錛屽綋鏈夐渶瑕佸叕甯冪殑鏁版嵁灝嗗叾鐢?span style="COLOR: #000080">鍚勭鏂瑰紡鍙戦佸嚭鍘匯?br> 
瑙傚療鑰呮ā寮?/strong>鏃犵枒鑳藉緢濂界殑鍋氬埌涓婇潰鐨勮姹傦紝鏃犺瑕佸灝戠鏂瑰紡錛屽彧瑕佸鍔犲涓戶鎵夸箣ITransfer鎺ュ彛鐨勬淳鐢熺被鍗沖彲,鏈夊緢濂界殑緇存姢鎬с?br>
浠ヤ笅鏄疄闄呯殑搴旂敤.



//鎺ュ彛
//ITransfer.h
#pragma once

class ITransfer
{
public:
    
virtual bool DoTransfer(...= 0;
}
;


//FetionTransfer.h
#pragma once
   #include "Transfer.h"
class CFetionTransfer:public ITransfer
{
public:
    CFetionTransfer();
    
~CFetionTransfer();
    
bool DoTransfer(...);
private:
    ......
}
;


//MailTransfer.h
#pragma once
   #include "Transfer.h"
class CMailTransfer: public ITransfer
{
public:
    CMailTransfer();
    
 ~CMailTransfer();
    
bool DoTransfer(...);
private:
....
}
;


//TransferPool.h
#pragma once

#include 
"Transfer.h"
#include 
<vector>
using namespace std;

class CTransferPool
{
private:
    vector
<ITransfer*> vo;
public:
    
virtual ~CTransferPool();

    
void Login(ITransfer* po);

    
void Logout(ITransfer* po);
   
//鍚戝悇鎴愬憳騫挎挱娑堟伅
    void Notify(...);
}
;

//TransferPool.cpp
#include "TransferPool.h"

CTransferPool::
~CTransferPool()
{
    vector
<ITransfer*>::iterator vi = vo.begin();
    
for (; vi != vo.end(); vi++)
    
{
                 if(*vi)
                    {
                        delete *vi;
                         *vi = NULL;
                    }

    }

}


void CTransferPool::Login(ITransfer* po)
{
    vo.push_back(po);
}


void CTransferPool::Logout(ITransfer* po)
{
    vector
<ITransfer*>::iterator vi = vo.begin();
    
for (; vi != vo.end(); vi++)
    
{
        
if (*vi == po)
            vo.erase(vi);
    }

}


void CTransferPool::Notify(...)
{
    vector
<ITransfer*>::iterator vi = vo.begin();
    
for (; vi != vo.end(); vi++)
    
{
        ITransfer 
*= *vi;
            
        (
*vi)->DoTransfer(...);
    }

}


void main
{
    CTransferPool
*m_pTranPool= new CTransferPool();
    
    CFetionTransfer 
*m_pFetionTran = new CFetionTransfer(...);
    CMailTransfer 
*m_pMailTran = new CMailTransfer(...);

    m_pTranPool
->Login(m_pFetionTran);
    m_pTranPool
->Login(m_pMailTran);
       
        
while(闇瑕佸彂閫佹秷鎭?
        
{
            m_pTranPool
->Notify();
        }


        
//閲婃斁
          if(m_pTranPool)
        
{
            delete m_pTranPool;
            m_pTranPool 
= NULL;
        }


}


YG 2008-08-29 15:49 鍙戣〃璇勮
]]>
姹備袱涓暟涓渶澶у鹼紝涓嶇敤鍒ゆ柇璇彞銆?/title><link>http://m.shnenglu.com/YGFaith/archive/2008/08/21/59524.html</link><dc:creator>YG</dc:creator><author>YG</author><pubDate>Thu, 21 Aug 2008 06:20:00 GMT</pubDate><guid>http://m.shnenglu.com/YGFaith/archive/2008/08/21/59524.html</guid><wfw:comment>http://m.shnenglu.com/YGFaith/comments/59524.html</wfw:comment><comments>http://m.shnenglu.com/YGFaith/archive/2008/08/21/59524.html#Feedback</comments><slash:comments>11</slash:comments><wfw:commentRss>http://m.shnenglu.com/YGFaith/comments/commentRss/59524.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/YGFaith/services/trackbacks/59524.html</trackback:ping><description><![CDATA[<p> </p> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><span style="COLOR: #000000">#include </span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">iostream.h</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> <br>#include </span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">math.h</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> <br><br></span><span style="COLOR: #0000ff">#define</span><span style="COLOR: #000000"> bits ( sizeof( int ) * 8 - 1 ) </span><span style="COLOR: #000000"><br></span><span style="COLOR: #0000ff">static</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> CheckFlag( </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> x, </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> y )  <br>{  <br></span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> s1 </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> x </span><span style="COLOR: #000000">>></span><span style="COLOR: #000000"> bits;  <br></span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> s2 </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> y </span><span style="COLOR: #000000">>></span><span style="COLOR: #000000"> bits;  <br>s1</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">abs(s1); <br>s2</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">abs(s2); <br></span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000"> ( s1 </span><span style="COLOR: #000000">*</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">2</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">+</span><span style="COLOR: #000000"> s2 );  <br>}  <br></span><span style="COLOR: #0000ff">static</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> SameSign( </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> Flag, </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> x, </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> y ) <br>{  <br></span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> t[</span><span style="COLOR: #000000">2</span><span style="COLOR: #000000">] </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> { x, y }; <br></span><span style="COLOR: #0000ff">long</span><span style="COLOR: #000000"> z </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> x </span><span style="COLOR: #000000">-</span><span style="COLOR: #000000"> y; <br></span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> s </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> z </span><span style="COLOR: #000000">>></span><span style="COLOR: #000000"> (bits</span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">32</span><span style="COLOR: #000000">);  <br>s</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">abs(s); <br></span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000"> t[s]; <br>}  <br></span><span style="COLOR: #0000ff">static</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> DiffSign(</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> Flag,</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> x,</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> y) 姣旇緝 <br>{  <br></span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> t[</span><span style="COLOR: #000000">2</span><span style="COLOR: #000000">] </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> { x, y };  <br></span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000"> t[Flag </span><span style="COLOR: #000000">-</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">1</span><span style="COLOR: #000000">]; <br>} <br></span><span style="COLOR: #0000ff">static</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> (</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">FuncList[</span><span style="COLOR: #000000">4</span><span style="COLOR: #000000">])(</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> Flag,</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> x,</span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> y)</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">{SameSign, DiffSign, DiffSign, SameSign};  <br></span><span style="COLOR: #0000ff">static</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> Max( </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> x, </span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> y )  <br>{  <br></span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> Flag </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> CheckFlag( x, y );  <br><br></span><span style="COLOR: #0000ff">return</span><span style="COLOR: #000000"> (</span><span style="COLOR: #000000">*</span><span style="COLOR: #000000">FuncList[Flag])(Flag,x,y);  <br>} <br></span><span style="COLOR: #0000ff">void</span><span style="COLOR: #000000"> main()  <br>{ <br></span><span style="COLOR: #0000ff">int</span><span style="COLOR: #000000"> x,y,z; <br>cout</span><span style="COLOR: #000000"><<</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">璇瘋緭鍏ユ暣鍨媥鐨勫?-32768~32767):</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">; <br>cin</span><span style="COLOR: #000000">>></span><span style="COLOR: #000000">x; <br>cout</span><span style="COLOR: #000000"><<</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">璇瘋緭鍏ユ暣鍨媦鐨勫?-32768~32767):</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">; <br>cin</span><span style="COLOR: #000000">>></span><span style="COLOR: #000000">y; <br>z</span><span style="COLOR: #000000">=</span><span style="COLOR: #000000">Max(x,y); <br>cout</span><span style="COLOR: #000000"><<</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">鏈澶х殑鏁?</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><<</span><span style="COLOR: #000000">z</span><span style="COLOR: #000000"><<</span><span style="COLOR: #000000">endl; <br>}  <br><br></span></div> <br><br>#define bits ( sizeof( int ) * 8 - 1 ) //縐誨姩鐨勪綅鏁?<br>static int SameSign( int Flag, int x, int y ) //鍑芥暟鍔熻兘:x,y鍚屽彿鏃剁殑姣旇緝 <br>static int DiffSign(int Flag,int x,int y) //鍑芥暟鍔熻兘:x,y寮傚彿鏃剁殑姣旇緝 <br>static int (*FuncList[4])(int Flag,int x,int y)={SameSign, DiffSign, DiffSign, SameSign}; //瀹氫箟鍑芥暟鎸囬拡鏁扮粍 <br>static int Max( int x, int y ) //鍑芥暟鍔熻兘:姹傛渶澶у?<br><br>static int CheckFlag( int x, int y ) //鍑芥暟鍔熻兘:媯嫻媥,y鐨勭鍙?<br>/* <br>錛ag 鐨勫?<br>+ +:0 <br>- +;1 <br>+ 1:2 <br>- -:3 <br>*/ <img src ="http://m.shnenglu.com/YGFaith/aggbug/59524.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/YGFaith/" target="_blank">YG</a> 2008-08-21 14:20 <a href="http://m.shnenglu.com/YGFaith/archive/2008/08/21/59524.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://m.shnenglu.com/" title="精品视频久久久久">精品视频久久久久</a> <div class="friend-links"> </div> </div> </footer> <a href="http://www.h8uq0.cn" target="_blank">久久99热这里只频精品6</a>| <a href="http://www.dwhpg.com.cn" target="_blank">伊人丁香狠狠色综合久久</a>| <a href="http://www.dlhybjgs.cn" target="_blank">成人亚洲欧美久久久久</a>| <a href="http://www.kh875.cn" target="_blank">久久精品二区</a>| <a href="http://www.jjcxxx.cn" target="_blank">亚洲乱码日产精品a级毛片久久</a>| <a href="http://www.r12319.cn" target="_blank">国内高清久久久久久</a>| <a href="http://www.ithaiyang.com.cn" target="_blank">久久亚洲日韩精品一区二区三区</a>| <a href="http://www.qp576.cn" target="_blank">MM131亚洲国产美女久久</a>| <a href="http://www.zhzzbjb.cn" target="_blank">久久久久久久国产免费看</a>| <a href="http://www.mdz8.cn" target="_blank">国产精品乱码久久久久久软件</a>| <a href="http://www.3495.com.cn" target="_blank">久久精品国产网红主播</a>| <a href="http://www.shy114.cn" target="_blank">亚洲精品久久久www</a>| <a href="http://www.bbdhtex.cn" target="_blank">久久婷婷激情综合色综合俺也去</a>| <a href="http://www.tdpqb.cn" target="_blank">777久久精品一区二区三区无码</a>| <a href="http://www.tvauto.cn" target="_blank">久久亚洲中文字幕精品一区</a>| <a href="http://www.hwtk.net.cn" target="_blank">亚洲精品国产成人99久久</a>| <a href="http://www.0576yes.cn" target="_blank">午夜天堂av天堂久久久</a>| <a href="http://www.bwgwdl.cn" target="_blank">亚洲综合日韩久久成人AV</a>| <a href="http://www.xinkb.cn" target="_blank">曰曰摸天天摸人人看久久久</a>| <a href="http://www.pn00.com.cn" target="_blank">亚洲综合日韩久久成人AV</a>| <a href="http://www.dqezb.cn" target="_blank">久久91精品国产91久</a>| <a href="http://www.vbpt.cn" target="_blank">国内精品免费久久影院</a>| <a href="http://www.szac.org.cn" target="_blank">久久国产影院</a>| <a href="http://www.bbcjk.cn" target="_blank">日韩精品国产自在久久现线拍 </a>| <a href="http://www.exye.cn" target="_blank">久久久久高潮毛片免费全部播放</a>| <a href="http://www.stwyy.cn" target="_blank">国产日韩久久免费影院</a>| <a href="http://www.jm1818.cn" target="_blank">91精品国产9l久久久久</a>| <a href="http://www.t5573.cn" target="_blank">国产精品天天影视久久综合网</a>| <a href="http://www.sskmk.cn" target="_blank">中文精品99久久国产 </a>| <a href="http://www.kanqiuwang.cn" target="_blank">亚洲午夜久久久影院伊人</a>| <a href="http://www.mayray.com.cn" target="_blank">久久九九免费高清视频</a>| <a href="http://www.jsiwl.cn" target="_blank">国产精品成人精品久久久 </a>| <a href="http://www.mmexse.cn" target="_blank">久久综合视频网站</a>| <a href="http://www.addlife.cn" target="_blank">热久久国产欧美一区二区精品 </a>| <a href="http://www.onlymir.cn" target="_blank">精品久久久久久国产</a>| <a href="http://www.52888666.cn" target="_blank">久久久久久久久久久精品尤物</a>| <a href="http://www.tingyuxuan999.cn" target="_blank">久久精品18</a>| <a href="http://www.gbyu.cn" target="_blank">亚洲精品成人网久久久久久</a>| <a href="http://www.ldzv.cn" target="_blank">精品久久久久久无码不卡</a>| <a href="http://www.ksszzyy.cn" target="_blank">怡红院日本一道日本久久 </a>| <a href="http://www.c6t9.cn" target="_blank">久久久亚洲欧洲日产国码二区</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>