??xml version="1.0" encoding="utf-8" standalone="yes"?>91久久精品国产91性色也,国产精品美女久久久m,四虎影视久久久免费观看http://www.shnenglu.com/eastsong/At first, you may struggle to understand how to do each pratice. They may look easy on paper, but putting some practices into action may be difficult. Keep practicing until they're easy.zh-cnThu, 08 May 2025 11:45:49 GMTThu, 08 May 2025 11:45:49 GMT60DriveBrowsinghttp://www.shnenglu.com/eastsong/archive/2008/12/22/70018.htmleastsongeastsongSun, 21 Dec 2008 16:21:00 GMThttp://www.shnenglu.com/eastsong/archive/2008/12/22/70018.htmlhttp://www.shnenglu.com/eastsong/comments/70018.htmlhttp://www.shnenglu.com/eastsong/archive/2008/12/22/70018.html#Feedback0http://www.shnenglu.com/eastsong/comments/commentRss/70018.htmlhttp://www.shnenglu.com/eastsong/services/trackbacks/70018.html
创徏ImageList 16 * 16的, 8Ԍ初始化ؓ(f)9个,增长频率?
m_pImageList.Create(16, 16, ILC_COLOR8 | ILC_MASK,  9, 9);
向ImageList中添加I(yng)con
m_pImageList.Add(pApp->LoadIcon(ICO_CDDRV));
m_pImageList.Add(pApp->LoadIcon(ICO_CLSDFLD));
m_pImageList.Add(pApp->LoadIcon(ICO_DRIVE));
m_pImageList.Add(pApp->LoadIcon(ICO_FLOPPYDRV));
m_pImageList.Add(pApp->LoadIcon(ICO_MYCOMP));
m_pImageList.Add(pApp->LoadIcon(ICO_OPENFLD));
m_pImageList.Add(pApp->LoadIcon(ICO_TEXTFILE));
向TreeCtrldI(yng)mageList
GetTreeCtrl().SetImageList(&m_pImageList , TVSIL_NORMAL);

GetLogicalDrives Function

Retrieves a bitmask representing the currently available disk drives.

 

DWORD WINAPI GetLogicalDrives(void);


GetDriveType Function

 

Determines whether a disk drive is a removable, fixed, CD-ROM, RAM disk, or network drive.

To determine whether a drive is a USB-type drive, call SetupDiGetDeviceRegistryProperty and specify the SPDRP_REMOVAL_POLICY property.

 

UINT WINAPI GetDriveType(
  __in          LPCTSTR lpRootPathName
);



eastsong 2008-12-22 00:21 发表评论
]]>
MCIhttp://www.shnenglu.com/eastsong/archive/2008/12/20/69959.htmleastsongeastsongSat, 20 Dec 2008 15:43:00 GMThttp://www.shnenglu.com/eastsong/archive/2008/12/20/69959.htmlhttp://www.shnenglu.com/eastsong/comments/69959.htmlhttp://www.shnenglu.com/eastsong/archive/2008/12/20/69959.html#Feedback0http://www.shnenglu.com/eastsong/comments/commentRss/69959.htmlhttp://www.shnenglu.com/eastsong/services/trackbacks/69959.htmlmciSendString

The mciSendString function sends a command string to an MCI device. The device that the command is sent to is specified in the command string

mciSendString("set cdaudio door open",NULL,0,0);

mciSendString("set cdaudio door closed",NULL,0,0);

MCI

The Media Control Interface (MCI) provides standard commands for playing multimedia devices and recording multimedia resource files. These commands are a generic interface to nearly every kind of multimedia device. 


NOTIFYICONDATA Structure  产生cM托盘的效?/h1>

Contains information that the system needs to process taskbar status area messages.



eastsong 2008-12-20 23:43 发表评论
]]>昄pȝ中所有进E?/title><link>http://www.shnenglu.com/eastsong/archive/2008/12/20/69952.html</link><dc:creator>eastsong</dc:creator><author>eastsong</author><pubDate>Sat, 20 Dec 2008 15:13:00 GMT</pubDate><guid>http://www.shnenglu.com/eastsong/archive/2008/12/20/69952.html</guid><wfw:comment>http://www.shnenglu.com/eastsong/comments/69952.html</wfw:comment><comments>http://www.shnenglu.com/eastsong/archive/2008/12/20/69952.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/eastsong/comments/commentRss/69952.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/eastsong/services/trackbacks/69952.html</trackback:ping><description><![CDATA[CreateToolhelp32Snapshot Q对pȝ中的q程“拍照”<div>Takes a snapshot of the specified processes, as well as the heaps, modules, and threads used by these processes.<div><p> </p><pre class="syntax" xml:space="preserve">HANDLE WINAPI CreateToolhelp32Snapshot( __in DWORD <em><a class="synParam" onclick="showTip(this)" href="ms-help://ms.vscc.v90/MS.MSDNQTR.v90.en/dllproc/base/createtoolhelp32snapshot.htm">dwFlags</a></em>, __in DWORD <em><a class="synParam" onclick="showTip(this)" href="ms-help://ms.vscc.v90/MS.MSDNQTR.v90.en/dllproc/base/createtoolhelp32snapshot.htm">th32ProcessID</a></em> ); </pre><pre class="syntax" xml:space="preserve"><pre class="syntax" xml:space="preserve">Process32First : 枚DW一个进E?/pre></pre><pre class="syntax" xml:space="preserve"><p>Retrieves information about the first process encountered in a system snapshot.</p> <p> </p><pre class="syntax" xml:space="preserve">BOOL WINAPI Process32First( __in HANDLE <em><a class="synParam" onclick="showTip(this)" href="ms-help://ms.vscc.v90/MS.MSDNQTR.v90.en/dllproc/base/process32first.htm">hSnapshot</a></em>, __in_out LPPROCESSENTRY32 <em><a class="synParam" onclick="showTip(this)" href="ms-help://ms.vscc.v90/MS.MSDNQTR.v90.en/dllproc/base/process32first.htm">lppe</a></em> ); </pre><pre class="syntax" xml:space="preserve"><br></pre><pre class="syntax" xml:space="preserve">Process32Next : 递归枚D随后的进E?br></pre><pre class="syntax" xml:space="preserve"><p>Retrieves information about the next process recorded in a system snapshot.</p> <p> </p><pre class="syntax" xml:space="preserve">BOOL WINAPI Process32Next( __in HANDLE <em><a class="synParam" onclick="showTip(this)" href="ms-help://ms.vscc.v90/MS.MSDNQTR.v90.en/dllproc/base/process32next.htm">hSnapshot</a></em>, __out LPPROCESSENTRY32 <em><a class="synParam" onclick="showTip(this)" href="ms-help://ms.vscc.v90/MS.MSDNQTR.v90.en/dllproc/base/process32next.htm">lppe</a></em> ); </pre></pre></pre></div></div><img src ="http://www.shnenglu.com/eastsong/aggbug/69952.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/eastsong/" target="_blank">eastsong</a> 2008-12-20 23:13 <a href="http://www.shnenglu.com/eastsong/archive/2008/12/20/69952.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>AOPhttp://www.shnenglu.com/eastsong/archive/2008/12/20/69946.htmleastsongeastsongSat, 20 Dec 2008 14:47:00 GMThttp://www.shnenglu.com/eastsong/archive/2008/12/20/69946.htmlhttp://www.shnenglu.com/eastsong/comments/69946.htmlhttp://www.shnenglu.com/eastsong/archive/2008/12/20/69946.html#Feedback0http://www.shnenglu.com/eastsong/comments/commentRss/69946.htmlhttp://www.shnenglu.com/eastsong/services/trackbacks/69946.html分散x(chng)
通用需求功能从不相关类之中分离出来Q同Ӟ能够使得很多cd享一个行为,一旦行为发生变化,不必修改很多c,只要修改q个行就可以啦?/div>
Aop是q种实现分散x(chng)的编E方法,它将“x(chng)”装?#8220;斚w”中?/div>
AOP是OOP的gl,是Aspect Oriented Programming 的羃写,意思是面向斚w~程。AOP是GOF设计模式的gl,设计模式孜孜不倦追求的是调用者和被调用者之间的解耦,AOP可以说也是这U目标的一中实现?/div>

举例Q假设有在一个应用系l中Q有一个共享的数据必须被ƈ发同时访问,首先Q将q个数据装在数据对象中Q称为Data ClassQ同Ӟ有多个讉Kc,专门用于在同一时刻讉Kq同一个数据对象?/p>

  Z(jin)完成上述q发讉K同一资源的功能,需要引入锁Lock的概念,也就是说Q某个时刻,当有一个访问类讉Kq个数据对象Ӟq个数据对象必须上锁LockedQ用完后q卌锁unLockedQ再供其它访问类讉K?/p>

  使用传统的编E习(fn)惯,我们?x)创Z个抽象类Q所有的讉Kcȝ承这个抽象父c,如下Q?/p>

abstract class Worker{

  abstract void locked();
  abstract void accessDataObject();
  abstract void unlocked();

}


  ~点Q?ul style="font-size: 14px; color: rgb(0, 0, 0); list-style-type: square; ">
  • accessDataObject()Ҏ(gu)需要有“?#8221;状态之cȝ相关代码?/li>
  • Java只提供了(jin)单承,因此具体讉Kcd能承这个父c,如果具体讉Kc还要承其它父c,比如另外一个如Worker的父c,无法方便实现?/li>
  • 重用被打折扣Q具体访问类因ؓ(f)也包?#8220;?#8221;状态之cȝ相关代码Q只能被重用在相x(chng)“?#8221;的场合,重用范围很窄(jing)?br>
    仔细研究q个应用?#8220;?#8221;Q它其实有下列特性:(x)
  • “?#8221;功能不是具体讉Kcȝ首要或主要功能,讉KcM要功能是讉K数据对象Q例如读取数据或更改动作?/li>
  • “?#8221;行ؓ(f)其实是和具体讉Kcȝ主要功能可以独立、区分开来的?/li>
  • “?#8221;功能其实是这个系l的一个纵向切面,涉及(qing)许多cR许多类的方法。如下图Q?br> 
  •   因此Q一个新的程序结构应该是x(chng)pȝ的纵向切面,例如q个应用?#8220;?#8221;功能Q这个新的程序结构就是aspectQ方面)(j)

      在这个应用中Q?#8220;?#8221;斚wQaspectQ应该有以下职责Q?/p>

      提供一些必备的功能Q对被访问对象实现加锁或解锁功能。以保证所有在修改数据对象的操作之前能够调用lock()加锁Q在它用完成后Q调用unlock()解锁?/p>

    AOP应用范围

      很明显,AOP非常适合开发J2EE容器服务器,目前JBoss 4.0正是使用AOP框架q行开发?br>  具体功能如下Q?br>Authentication 权限
    Caching ~存
    Context passing 内容传?br>Error handling 错误处理
    Lazy loading 懒加?br>Debugging  调试
    logging, tracing, profiling and monitoring 记录跟踪 优化 校准
    Performance optimization 性能优化
    Persistence  持久?br>Resource pooling 资源?br>Synchronization 同步
    Transactions 事务

    AOP有必要吗Q?/strong>

      当然Q上q应用范例在没有使用AOP情况下,也得C(jin)解决Q例如JBoss 3.XXX也提供了(jin)上述应用功能Q但是没有用AOP?/p>

      但是Q用AOP可以让我们从一个更高的抽象概念来理解Y件系l,AOP也许提供一U有价值的工具。可以这么说Q因Z用AOPl构Q现在JBoss 4.0的源码要比JBoss 3.XҎ(gu)理解多了(jin)Q这对于一个大型复杂系l来说是非常重要的?/p>

      从另外一个方面说Q好像不是所有的人都需要关?j)AOPQ它可能是一U架构设计的选择Q如果选择J2EEpȝQAOPx(chng)的上q通用斚w都已l被J2EE容器实现?jin),J2EE应用pȝ开发者可能需要更多地x(chng)行业应用斚waspect?/p>



    eastsong 2008-12-20 22:47 发表评论
    ]]>软g能力成熟度模?/title><link>http://www.shnenglu.com/eastsong/archive/2008/12/17/69658.html</link><dc:creator>eastsong</dc:creator><author>eastsong</author><pubDate>Wed, 17 Dec 2008 09:43:00 GMT</pubDate><guid>http://www.shnenglu.com/eastsong/archive/2008/12/17/69658.html</guid><wfw:comment>http://www.shnenglu.com/eastsong/comments/69658.html</wfw:comment><comments>http://www.shnenglu.com/eastsong/archive/2008/12/17/69658.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/eastsong/comments/commentRss/69658.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/eastsong/services/trackbacks/69658.html</trackback:ping><description><![CDATA[一 基本概念<br><br>软gq程QSoftware ProcessQ?br>软gq程可定义ؓ(f)企业设计Q研制和l护软g产品?qing)相兌料文的全部?br>产活动和工程理zd?br><br>软gq程能力QSoftware Process CapablilityQ?br>企业实施软gq程所能实现预期目标的E度。它可用于预企业的软gq程水^?br><br>软gq程行ؓ(f)QSoftware Process PerformanceQ?br>企业在项目开发中遵@软gq程所能得到的实际l果?br><br>软gq程成熟度(Software Process MaturityQ?br>软gq程行ؓ(f)可被定义Q预和控制q持l行提高的程度。它主要用来表明不同目所遵@的Y件过E的一致性?br><br>软g能力成熟度等U(Software Capablility Maturity levelsQ?br>企业的Y件开发在׃到高成熟化演q过E中所普遍面(f)的具有一定成熟度特征的^台?br><br>成熟与不成熟QMature and ImmatureQ?br>不成熟的标志?  没有明确的Y件过E体pd以依据,无法对生产进行预;不严格执行生产过E;质量无法保证Q无健全的过E控制及(qing)质量控制体系Q项目开发没有准则可遵@Q开发结果主要依据项目小l及(qing)个h的带有主观因素的能力发挥?br>成熟的标志有-目开发是依据企业早已明确的过E准则来实施Q开发结果较?yu)的依赖个h能力和自然因素;目pE控制ƈ可对整个生作出预测Q品质量得到有效的监控Q)(j)Q过ȝ开发项目中所L(fng)验得以积累ƈ可系l地用于现行和未来的目之中?br><br>配置理QConfiguration ManagementQ?br>包括以下理行ؓ(f)Q?Ҏ(gu)个配|项的功能和物理Ҏ(gu)进行识别和~Q对q些特征的变动进行控Ӟ对变动和事实q行记录、汇报;验证需求计划的实现?br><br>偏差QDeviationQ?br>针对开发中的计划、标准、规划等的明昑ցd变动?br><br>同业复审QPeer ReviewQ?br>软g目开发成员的同行遵@某一规则寚w目品所作的(g)查,用于发现~陷所在?br><br>风险理QRisk ManagementQ?br>q用风险概率Ҏ(gu)分析评估目开发设计中的各c风险,包括风险识别Q风险分析,风险{排序和风险控制?br><br>软g工程q程l(Software Engineering Process GroupQ?br>协助开发机构对所采纳的Y件过E进行制定、分析、监控和改进的专家组?br>它应该直接向机构的最高领导层负责?br><br>软g生命周期QSoftware Life CycleQ?br>指Y件开发所涉及(qing)的全q程Q包括从产品设计C品终l的整个周期Q一般分为概念阶D,需求阶D,设计阶段Q实施阶D,试阶段Q安装调试阶D,q行l护阶段Q终止阶Dc(din)?br><br>软g需求(Software RequirementQ?br>用户为实现某U目标或者解x(chng)U问题要求Y件给予满的条g?br> <img src ="http://www.shnenglu.com/eastsong/aggbug/69658.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/eastsong/" target="_blank">eastsong</a> 2008-12-17 17:43 <a href="http://www.shnenglu.com/eastsong/archive/2008/12/17/69658.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Intrusion detection systemhttp://www.shnenglu.com/eastsong/archive/2008/12/16/69608.htmleastsongeastsongTue, 16 Dec 2008 14:52:00 GMThttp://www.shnenglu.com/eastsong/archive/2008/12/16/69608.html

    eastsong 2008-12-16 22:52 发表评论
    ]]>
    Design Pattern - Chapter One 单工厂模?/title><link>http://www.shnenglu.com/eastsong/archive/2008/11/03/65871.html</link><dc:creator>eastsong</dc:creator><author>eastsong</author><pubDate>Mon, 03 Nov 2008 11:44:00 GMT</pubDate><guid>http://www.shnenglu.com/eastsong/archive/2008/11/03/65871.html</guid><wfw:comment>http://www.shnenglu.com/eastsong/comments/65871.html</wfw:comment><comments>http://www.shnenglu.com/eastsong/archive/2008/11/03/65871.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/eastsong/comments/commentRss/65871.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/eastsong/services/trackbacks/65871.html</trackback:ping><description><![CDATA[单工厂:(x) 用一个单独的cL做创造实例的q程Q就是工厂?br><br>优点Q在于工厂类中包含了(jin)必要的逻辑判断Q根据客L(fng)的选择条g动态实例化相关的类Q对于客L(fng)来说Q去除了(jin)与具体品的依赖?br><br>例子Q实现计器代码<br><br>1 计算和显C分开<br>2 灉|C改和扩展Q开攑ְ闭原则)(j)<br>3 单一原则Q加减乘除各个自成一c)(j)<br><br>/**<br>*    File    : IOperation.h<br>*    Author    : Eastsong<br>*    Date    : 11/3/2008<br>*    Function: interface of operation<br>*/<br><br>#if !defined _IOPERATION_H_<br>#define _IOPERATION_H_<br><br>class IOperation<br>{<br>public:<br>    IOperation(double _doubleA = 0, double _doubleB = 0);<br>    virtual ~IOperation(){};<br>    <br>    virtual double Execute() = 0;<br><br>    void SetA(double _doubleA);<br>    double GetA();<br><br>    void SetB(double _doubleB);<br>    double GetB();<br><br>protected:<br>private:<br>    double m_doubleA;<br>    double m_doubleB;<br><br>};<br><br>#endif<br><br>/**<br>*    File    : IOperation.cpp<br>*    Author    : Eastong<br>*    Date    : 11/3/2008<br>*    Function: the realization of IOperation<br>*/<br><br>#include "IOperation.h"<br><br><br>IOperation::IOperation(double _doubleA /* = 0 */, double _doubleB /* = 0 */)<br>{<br>    m_doubleA = _doubleA;<br>    m_doubleB = _doubleB;<br>}<br><br>void IOperation::SetA(double _doubleA)<br>{<br>    m_doubleA = _doubleA;<br>}<br>double IOperation::GetA()<br>{<br>    return m_doubleA;<br>}<br><br>void IOperation::SetB(double _doubleB)<br>{<br>    m_doubleB = _doubleB;<br>}<br><br>double IOperation::GetB()<br>{<br>    return m_doubleB;<br>}<br><br>/**<br>*    File    : CAdd.h<br>*    Author    : Eastsong<br>*    Date    : 11/3/2008<br>*    Function: the declaration of Add operation<br>*/<br>#if !defined _CADD_H_<br>#define _CADD_H_<br><br>#include "IOperation.h"<br><br>class CAdd : public IOperation<br>{<br>public:<br>    virtual double Execute();<br>protected:<br>private:<br>};<br><br>#endif<br><br>/**<br>*    File    : CAdd.cpp<br>*    Author    : Eastsong<br>*    Date    : 11/3/2008<br>*    Function: the realization of Add operation<br>*/<br><br>#include "CAdd.h"<br><br>double CAdd::Execute()<br>{<br>    return GetA() + GetB();<br>}<br><br>/**<br>*    File    : CSub.h<br>*    Author    : Eastsong<br>*    Date    : 11/3/2008<br>*    Function: the declaration of sub operation<br>*/<br>#if !defined _CSUB_H_<br>#define  _CSUB_H_<br><br>#include "IOperation.h"<br><br>class CSub : public IOperation<br>{<br>public:<br>    virtual double Execute();<br>protected:<br>private:<br>};<br><br>#endif<br><br>/**<br>*    File    : CSub.h<br>*    Author    : Eastsong<br>*    Date    : 11/3/2008<br>*    Function: the realization of sub operation<br>*/<br><br>#include "CSub.h"<br><br>double CSub::Execute()<br>{<br>    return GetA() - GetB();<br>}<br><br>/**<br>*    File    : CMul.h<br>*    Author  : Eastsong<br>*    Date    : 11/3/2008<br>*    Function: the declaration of mul operation<br>*/<br>#if !defined _CMUL_H_<br>#define  _CMUL_H_<br><br>#include "IOperation.h"<br><br>class CMul : public IOperation<br>{<br>public:<br>    virtual double Execute();<br>protected:<br>private:<br>};<br><br>#endif<br>/**<br>*    File    : CMul.cpp<br>*    Author  : Eastsong<br>*    Date    : 11/3/2008<br>*    Function: the realization of mul operation<br>*/<br>#include "CMul.h"<br><br>double CMul::Execute()<br>{<br>    return GetA() * GetB();<br>}<br><br>/**<br>*    File    : CDiv.h<br>*    Author  : Eastsong<br>*    Date    : 11/3/2008<br>*    Function: the declaration of div operation<br>*/<br>#if !defined _CDIV_H_<br>#define _CDIV_H_<br><br>#include "IOperation.h"<br><br>class CDiv : public IOperation<br>{<br>public:<br>    virtual double Execute();<br>protected:<br>private:<br>};<br><br>#endif<br><br>/**<br>*    File    : CDiv.cpp<br>*    Author    : Eastsong<br>*    Date    : 11/3/2008<br>*    Function: the realization of div operation<br>*/<br>#include "CDiv.h"<br><br>double CDiv::Execute()<br>{<br>    if (0 != GetB())<br>    {<br>        return GetA() / GetB();<br>    }<br>    else<br>    {<br>        /**<br>        * I do not know how to throw the exception using c++<br>        */<br>        //throw Exception();<br><br>        return 0;<br>    }<br>}<br><br>/**<br>*    File    : OperationFactory.h<br>*    Author    : Eastsong<br>*    Date    : 11/3/2008<br>*    Function: factory of create operation object<br>*/<br><br>#if !defined _OPERATION_FACTORY_H_<br>#define _OPERATION_FACTORY_H_<br><br>#include "IOperation.h"<br><br>class OperationFactory<br>{<br>public:<br>    static IOperation * CreateOperation(char  op);<br>protected:<br>private:<br>};<br><br>#endif<br><br>/**<br>*    File    : OperationFactory.cpp<br>*    Author    : Eastsong<br>*    Date    : 11/3/2008<br>*    Function: factory of create operation object<br>*/<br><br>#include "OperationFactory.h"<br>#include "CAdd.h"<br>#include "CSub.h"<br>#include "CMul.h"<br>#include "CDiv.h"<br><br>IOperation * OperationFactory::CreateOperation( char op)<br>{<br>    IOperation * operation = 0;<br><br>    switch(op)<br>    {<br>    case '+' :<br>        operation = new CAdd();<br>        break;<br>    case '-':<br>        operation = new CSub();<br>        break;<br>    case '*':<br>        operation = new CMul();<br>        break;<br>    case '/':<br>        operation = new CDiv();<br>        break;<br>    <br>    default:<br>    <br>        break;<br>    }<br><br>    return operation;<br>}<br><br><img src ="http://www.shnenglu.com/eastsong/aggbug/65871.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/eastsong/" target="_blank">eastsong</a> 2008-11-03 19:44 <a href="http://www.shnenglu.com/eastsong/archive/2008/11/03/65871.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>转:(x) 史上最牛夫ȝzd?/title><link>http://www.shnenglu.com/eastsong/archive/2008/11/02/65744.html</link><dc:creator>eastsong</dc:creator><author>eastsong</author><pubDate>Sun, 02 Nov 2008 03:53:00 GMT</pubDate><guid>http://www.shnenglu.com/eastsong/archive/2008/11/02/65744.html</guid><wfw:comment>http://www.shnenglu.com/eastsong/comments/65744.html</wfw:comment><comments>http://www.shnenglu.com/eastsong/archive/2008/11/02/65744.html#Feedback</comments><slash:comments>5</slash:comments><wfw:commentRss>http://www.shnenglu.com/eastsong/comments/commentRss/65744.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/eastsong/services/trackbacks/65744.html</trackback:ping><description><![CDATA[ 史上最牛夫ȝzd?br>  1.吉|不当着父母Q亲戚,d的面吵,在公共场所l对斚w子?br> <br>  2.不管谁对谁错Q只要一吉|Q男方必ddL哄女方一ơ,x(chng)才能马上冷静(rn)下来Q否则女方一看到h哇啦哇啦x(chng)也忍不住哇啦哇啦Q一旦造成严重后果Q全部由h负责?br> <br>  3.在家里吵架不准一C(jin)之,实在要走不得走出区Q不怸带手机和x(chng)?br> <br>  4.敬Ҏ(gu)的父母长辈,吉|不开?j)不能对父母无礼?br> <br>  5.有错一方要d道歉Q无错一方在有错斚w歉ƈ补偿后要快原谅Ҏ(gu)?br><br> <br>  6.双方都有错时要互相检讨,认识到错误ƈ道歉后由hd提出带女方出L?j)?br> <br>  7.要出气不准砸东西Q只能吃东西Q实在手痒只能砸枕头?br> <br>  8.吉|量不隔夜,晚上睡觉时男方必M动抱x(chng)Q女方生气百般推让男方也不能此攑ּQ一定要哄到x(chng)睡着Q做上美梦。。?br><br> <br>  9.每周都要l对Ҏ(gu)摩一ơ,因ؓ(f)大家l常吉|都很辛苦Q男Ҏ(gu)Z好的话可以跟盲h师傅学,严禁和发廊女学!<br> <br>  10.吉|时男方不准挂?sh)话Q如果挂?jin)要马上打回去,q表C歉意,吉|时女方如果挂?jin)?sh)话,h必须?分钟内打l女方,?sh)话不通打手机QM不能气绥Q屡挂屡打,但是x(chng)也要l男斚w子,每次挂电(sh)话次C大于5ơ?br><br>Q公U条ƾ暂时ؓ(f)以上q几条,可由x(chng)无理由无旉限制的更改,h有权利提出异议,但是异议是否被采Ux(chng)l解释权在女Ҏ(gu)里)(j)<br>                             <br><img src ="http://www.shnenglu.com/eastsong/aggbug/65744.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/eastsong/" target="_blank">eastsong</a> 2008-11-02 11:53 <a href="http://www.shnenglu.com/eastsong/archive/2008/11/02/65744.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>Design Patternhttp://www.shnenglu.com/eastsong/archive/2008/10/31/65629.htmleastsongeastsongFri, 31 Oct 2008 08:18:00 GMThttp://www.shnenglu.com/eastsong/archive/2008/10/31/65629.htmlhttp://www.shnenglu.com/eastsong/comments/65629.htmlhttp://www.shnenglu.com/eastsong/archive/2008/10/31/65629.html#Feedback0http://www.shnenglu.com/eastsong/comments/commentRss/65629.htmlhttp://www.shnenglu.com/eastsong/services/trackbacks/65629.html大话设计模式基本늛?jin)目前流行的大部分设计模式,现在脑子里能惌v来的有:(x)
    单工厂、策略模式、工厂模式、桥接模式、n元模式、模ѝ观察者、单键模式、抽象、代理、指D、命?br>其中里面q讲C些设计原则,如:(x)DSP、LSP、OCP{?br>在项目设计中Q我也尝试去应用?jin)里面的一些模式,遇到问题Q就比较着看和大话模式里U比较相|应用上?jin)?br>到底如何才是真正理解设计模式?jin)呢Q有的时候我是很p涂?br>


    eastsong 2008-10-31 16:18 发表评论
    ]]>
    Z(jin)做g有成q?/title><link>http://www.shnenglu.com/eastsong/archive/2008/10/30/65553.html</link><dc:creator>eastsong</dc:creator><author>eastsong</author><pubDate>Thu, 30 Oct 2008 05:15:00 GMT</pubDate><guid>http://www.shnenglu.com/eastsong/archive/2008/10/30/65553.html</guid><wfw:comment>http://www.shnenglu.com/eastsong/comments/65553.html</wfw:comment><comments>http://www.shnenglu.com/eastsong/archive/2008/10/30/65553.html#Feedback</comments><slash:comments>2</slash:comments><wfw:commentRss>http://www.shnenglu.com/eastsong/comments/commentRss/65553.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/eastsong/services/trackbacks/65553.html</trackback:ping><description><![CDATA[昨天d?jin)超囄校园宣讲会(x),无非都是宣扬些本公司的现Ӟ未来的发展,以?qing)招聘?sh)员来到本公司后的待遇等{。我没太自己x(chng)q些Q大部分旉是在看新买的Multithreading Appinlication in WindowsQ最q很q书。不q宣讲h说了(jin)句话Q让我印象很是深刻,他说Q时不时p做些有成q事,否则旉长了(jin)Qh都会(x)颓废的,原话不是q么说的Q大意而已。我觉得q句话很有道理,在学校这么长旉Q从来没觉得什么事让自己感觉很有成;工作?jin)这么久也是一P天天想着完成d好Q从来没惌应该前完成点Q务。大部分仅仅是ؓ(f)?jin)维持生zȝӞ得过且过而已。时间长?jin),反而觉得很是无聊,没有什么新意?br>受这句话的启发,我决定今天就该做Ҏ(gu)成就感的事情Q把前两天拖拉的工作完成?jin)。其实Q务说h很简单:(x)目在开发中用到?jin)sqlite3.dllQ不q在引用q个dllӞ目中用的是在project、setting 中设|的方式Q(dll调用分两U,不清楚这U调用是隐式的还是显C的Q没分清Q,所以项目程序只有在sqlite3.dll 存在的情况下Q才可以q行Q否则运行不hQ会(x)报错?目中我的Q务是做升U程序Updater.exeQ在升E序中也需要升U数据库Q因此也使用?jin)sqlite3.dllQ也是按的前面的调用方式。这U调用方式带来的弊端是updater.exe在升U主E序Ӟ可能?x)出现问题,sqlite3.dll的升U可能失败(正在被updater.exe使用Q。我曾想试着按另外一U方式调用sqlite3.dll导出的函敎ͼ但终I觉得导出函数的方式很复杂,而且sqlite3的导出函数封装的不好Q写h很费Ԍq之前由于sqlite3.h 装不好Q我们项目组一直引用它的一个封装类CppSqlite3Q?br>如果按着sqlite3 导出函数QLoadLibraryQFreeLibraryQ这U方式来做的话,问题来了(jin)Q?br>1 导出函数的指针必L?br>2 以前写的代码引用到CppSqlite3 的最好不要媄(jing)响到<br><br>想了(jin)很久Q终于我惛_一个方法来解决q个问题Q遂开始实施(后面在描q解册E吧Q,可是׃导出函数太多Q写的我都快吐血?jin),一直到?jin)早上五点,q没全部弄完Q实在是坚持不住?jin),想赶紧睡?x)吧,一?x)还得上班呢。遂倒头睡去Q没成想在睁开眼睛Ӟ已是8点多?jin)?br><br><br><br><img src ="http://www.shnenglu.com/eastsong/aggbug/65553.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/eastsong/" target="_blank">eastsong</a> 2008-10-30 13:15 <a href="http://www.shnenglu.com/eastsong/archive/2008/10/30/65553.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>лǵվܻԴȤ</p> <a href="http://www.shnenglu.com/" title="精品视频久久久久">精品视频久久久久</a> <div class="friend-links"> </div> </div> </footer> <a href="http://www.wodedaxue.com.cn" target="_blank">þþþþþƷο</a>| <a href="http://www.flznzb.cn" target="_blank">þ͵wcŮ</a>| <a href="http://www.etfp.cn" target="_blank">91޹˾þþƷַ</a>| <a href="http://www.a1dk.cn" target="_blank">ѹ99þþ㽶</a>| <a href="http://www.superpic.cn" target="_blank">þþƷA㽶 </a>| <a href="http://www.bailidujuan.cn" target="_blank">ĻþӰԺ</a>| <a href="http://www.zzrich.cn" target="_blank">þþƷAV鶹 </a>| <a href="http://www.yd-job.cn" target="_blank">޾Ʒһþþ </a>| <a href="http://www.manini.cn" target="_blank">þù¶ƷӰ</a>| <a href="http://www.jisuxb.cn" target="_blank">þþƷĻ̾</a>| <a href="http://www.bettertrade.cn" target="_blank">ӰԺ˾þ</a>| <a href="http://www.rdyly1688.cn" target="_blank">þþþAVվ</a>| <a href="http://www.vlbx.cn" target="_blank">þþƷþ˼˼ </a>| <a href="http://www.ofuax.cn" target="_blank">ڸþþþþ</a>| <a href="http://www.superpic.cn" target="_blank">999Ʒþþþþ</a>| <a href="http://www.3828888.cn" target="_blank">ٸþþþþþþþ</a>| <a href="http://www.mobilepop.cn" target="_blank">þþƷѴƬƬ</a>| <a href="http://www.vfpo.cn" target="_blank">91þþһȫ</a>| <a href="http://www.hqfood.com.cn" target="_blank">ݺɫþۺ_ </a>| <a href="http://www.zyydh.cn" target="_blank">þùɫavѿ</a>| <a href="http://www.etxf.cn" target="_blank">69Ʒþþþ99</a>| <a href="http://www.hzks666.cn" target="_blank">þþƷAAƬһ</a>| <a href="http://www.cn0513.cn" target="_blank">޹պŷۺϾþ</a>| <a href="http://www.4fp5r8p.cn" target="_blank">ŮдþӰԺ</a>| <a href="http://www.huishou399.cn" target="_blank">þavרavһ</a>| <a href="http://www.tv81.cn" target="_blank">ŷ޾þav</a>| <a href="http://www.ganzhoupei.cn" target="_blank">þۺϾɫŷۺϺݺ </a>| <a href="http://www.jinxing168.net.cn" target="_blank">һþaþþƷvrۺ</a>| <a href="http://www.fuwumianyang.cn" target="_blank">ѾþþƷѾѾ</a>| <a href="http://www.wenydz.cn" target="_blank">91龫Ʒ91þþþ</a>| <a href="http://www.jjshjlbf.cn" target="_blank">¾þþþa</a>| <a href="http://www.hahaowen.cn" target="_blank">ŷպþþƷһ</a>| <a href="http://www.aigoou.cn" target="_blank">˾þ</a>| <a href="http://www.xfidc.com.cn" target="_blank">ŷСþþþþþ</a>| <a href="http://www.vzpw.cn" target="_blank">þþƷһ</a>| <a href="http://www.ycjtjedu.cn" target="_blank">97þþƷˬ</a>| <a href="http://www.mogodo.cn" target="_blank">þۺϾɫۺ97_þþ</a>| <a href="http://www.qdtiandiyuan.cn" target="_blank">ݺɫþþһ</a>| <a href="http://www.fd-tex.cn" target="_blank">þøŮ߳MBA</a>| <a href="http://www.xinmeige.com.cn" target="_blank">þù¶ƷӰ</a>| <a href="http://www.huameizc.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>