}
«网站首页

Edmund Li

关注此人
把Edmund Li加为好友
附言:



最新动态
  • Edmund Li 发表博客:Selection Sort 2011-11-14 17:49
    Selection sort
  • Edmund Li 发表博客:升级ubuntu11出现grub错误 2011-07-26 15:51
    在虚拟机上面将ubuntu10.04 升级的到11.04,重启后出现“Minimal BASH-like line editing is supported. For the first word, ...
  • Edmund Li 发表博客:修改VC++工程framework版本 2011-07-14 09:03
    在C++/CLI中修改VC++的framework版本,由于VS2010不支持像C#项目文件的那种直接的下拉框模式,我们需要在.vcxproj文件中修改目标版本(TargetFrameWorkVers...
  • Edmund Li 发表博客:断点不能加载 2011-07-12 16:47
    C#调用C++/CLI 的代码中,C++的代码总不能跟踪。其中我的C#是新代码,而C++则是同事发给我的现在程序中已经使用的代码。我现在要做到就是把C++的大部分东西推到重来。由于进度紧张,连C++的...
  • Edmund Li 发表博客:Decorator Pattern 2011-07-08 08:47
    Time for Decorator pattern:Use Espresso, DarkRoast and HouseBlend coffee as the ConcreteComponent, S...
  • Being a good developer is like being any other good professional, it’s all it’s about doing as much ...
  • Edmund Li 发表博客:策略模式 2011-06-30 09:30
    今天研究一下策略模式。示例程序如下:Strategy.csnamespace StrategyPatternExample{ public interface Strategy { int Execu...
  • Edmund Li 评论博客:输出1到1000的数 2011-01-16 22:36
    @voop
    可能是吧。编译器……
  • Edmund Li 评论博客:输出1到1000的数 2011-01-16 22:36
    @书豪
    第一反应没有想到模板这块。想着采用分母为零这个异常,谁知道竟然一波三折。
  • Edmund Li 评论博客:输出1到1000的数 2011-01-16 22:27
    牛!没想到用static,想起了独孤九剑:)
  • Edmund Li 发表博客:输出1到1000的数 2011-01-13 17:50
    最近经常见这道题:请把从1到1000的数打印出来,但你不能使用任何的循环语句或是条件语句。更不能写1000个printf或是cout。用C/C++语言。自己用C++试了一下,怎么也不会抛出异常,难道不...
  • Edmund Li 发表博客:观察者模式 2011-01-12 22:28
    Subject Code[代码][代码]Concrete ObserverClient Code以上为通用情况下的观察者模型。但是,有部分缺陷,下面将介绍采用了事件委托的观察者模式。
  • Edmund Li 发表博客:单例模式(Singleton) 2011-01-09 15:39
    最近用到了单例模式。在这里做个总结,整理思路。使用情形:在调用form时,可能出现此form已经被初始化了,但是调用者并不知道,重新new了一个新的form,导致调用者的混乱。使用了singleton...
  • Edmund Li 发表博客:sprite 2010-09-15 22:29
    Sprite means a group of pixels that are moved and displayed as a single unit, a kind of graphical ob...
  • Microsoft Visual Studio has encountered an internal errorMicrosoft Visual Studio may be unstable now...
  • Problem:If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and...
  • Edmund Li 发表博客:Tracer bullets & prototype 2010-03-30 09:42
    SummaryPragmatic Programmers Andy Hunt and Dave Thomas talk with Bill Venners about the importance o...
  • Edmund Li 发表博客:The Evils of Duplication 2010-03-26 08:38
    * DRY--Don't Repeat Yourself.* Make It Easy to Reuse.
  • Edmund Li 发表博客:Knowledge portfolio 2010-03-24 08:29
    Building your portfolio, you should do the following:* Invest regularly.* Diversity.* Manage risk.* ...
Top