Wednesday, November 29, 2006

梨花式

别人没有睡觉时候

睡觉

也在

别人起床时候

起床

Elliot Liu

Tuesday, November 28, 2006

new word

plain sailing

n.

一帆风顺

Elliot Liu

Wednesday, November 22, 2006

vc++ 6.0 关于资源的id的编译note 如何去掉?

e:\local_cvs\mycloth\source\mycloth\resource.h(77) : note C6311: e:\local_cvs\mycloth\include\resource\aires.h(225) : see previous definition of 'ID_MESH_SMOOTH'

Generating Code...

因为先前设计原因导致很多id重复定义现在已经无法

虽然cnote影响程序运行ncnote信息让人厌烦

Google一下没有找到方法去掉

知道评论给我谢谢

Elliot Liu

搞过距离场 distance field的朋友,help me!!

为了防止blogger认为垃圾邮件

增加这些正在句子

Df据说医学影像比较

哪位大侠

Elliot Liu

Friday, November 17, 2006

今天困的时候,下了guitar pro

GP一款专业guitar曲谱软件

percussion

[pE:5kQFEn]

打击乐器

chord

[kC:d]

n.

, 和音, 情绪吉他"和弦"其他乐器应该这样

Acoustic guitar原声吉他相对于 吉他来说steel这个 钢弦吉他

一般古典吉他 nylon

trombone

[5trCmbEun]

n.

长号

Tenor sax高音萨克斯管,

cello

[5tFelEJ]

大提琴

Instrument乐器总称 pan平衡volume

Elliot Liu

vc6.0的小技巧

部分内容转载自:http://blog.csdn.net/xushiweizh/archive/2006/11/16/1388949.aspx

Visual Studio系列中产品中,Visual Studio 6.0是最经典的一个版本,虽然后来有Visual Studio .NET 2003,以及2005,也确实添加了很多让我觉得激动的特性,但是从使用细节的细腻程度上来看,VS 6.0无疑是最棒的。我们一些同事甚至试图把2005C++编译器独立的拿到Visual Studio 6.0中来用,也不愿意升级到.NET上来用,可见其魅力。

 

VS 6.0这个产品的成熟相比,VC++ 6.0的编译器的的确确相对来说有些糟糕,其中最被诟病的是对模板技术支持很不好。下面我想做的一件事情,就是向那些继续留恋VC++ 6.0的朋友,介绍一些小花招,来避开VC++ 6.0的一些编译器缺陷。

 1for (type var=expression;;) 中变量var的作用域问题。

 

按照C++标准,这里定义的变量var出了for循环应该被销毁。也就是说下面这段代码是有效的:

 

   for (int i = 0; i < 100; ++i)

       func();

   for (int i = 0; i < 100; ++i)

       func2();

 

而下面这段代码应该编译不过:

 

    for (int i = 0; i < 100; ++i)

    {

         if (has_found_it())

         {

             handle_find_result();

             break;

          }

    }

    if (i == 100)

         do_not_found();

 

然而VC++ 6.0对于第一段代码会报变量i重复定义错误,而第二段代码编译通过。

 

为了让VC++ 6.0for语句看起来符合C++标准,你可以这样做:

 

   #define for if (0); else for

 

你会发现很有趣,这样define一下后,VC++ 6.0for语句完全符合C++标准了!而且由于编译器的优化,Release版本不会增加任何额外的开销。

 

喜欢"钻牛角尖"的朋友可能会说:嗯,不错的主意。但是――为什么不这样做:

 

   #define for if (1) for

 

嗯?看起来也可以。还是让我们看一个用例:

 

   if (cond)

      for (int i = 0; i < 100; ++i)

          func1();

   else

       func2();

 

进行宏代码展开后,成为:

 

   if (cond)

       if (1)

           for (int i = 0; i < 100; ++i)

               func1();

       else

           func2();

 

这个结果显然不能符合我们的原意。这里func2();语句永远得不到执行机会。

 

Elliot Liu

Thursday, November 16, 2006

master123

MASTER-123
穿梭于高楼林立的街道中,寻求更广阔的空间。捷安特伴随着你去发现陌生的一切,共
同经历生命中的每一次体验。使你的目光更真实,使你生活的色彩更缤纷。TRIFFIC为
上班族在堵塞的交通中开辟了一条舒适小路,节省了时间、金钱和精力,把可贵的资源
投入到工作、生活中。


Specifications:
尺寸: 26X18M
车架: 高碳钢车架
车圈: 铝合金车圈
配备: 高碳钢车架,铝合金零件,SHIMANO内三速,塑料链罩,26*1.5建大轮胎

Elliot Liu

only one word

derivative

[di5rivEtiv]

n.

派生物

【语】派生词

【化】衍生物

【医】诱导法[]

【数】导数, 纪数, 微商

Elliot Liu

English learning

These words are commented by me when I read the English e-book.

Once again, you can mitigate[减轻] this threat by using good ACLs on the registry key in question, but you should still fix the code, just in case there's a poor ACL or the administrator accidentally sets a poor ACL. That's enough of a detourlet's get back to ACLs.

mitigate

[5miti^eit]

v.

减轻

discretionary

[dIs`kreFEnErI]

adj.

任意的, 自由决定的

Please don't let me down别让我失望

Above all, have someone who understands how to use crypto review the designs and the code for errors.

一个如何检查一下设计代码错误

Elliot Liu

Monday, November 06, 2006

连google的blog也block,ft!!!

已经很多天没能连上google blog了。

Picasa 也被我删掉了。

心爱的sf.net有时也连不上。

 Google.com更不用说了。

 

只好发个mail,表示下愤怒。

大家可以访问我的另外blog

www.zydl.net/cn_llyll

or www.toolkids.com

or http://www.freelists.org/webpage/vc_ui_tech

 

Elliot Liu