2009/09/18 13:36
虽然这篇文章在网路上已经被转滥了,但它说的真的很好,第一次看就切入我的内心深处了......
单身有时不一定是贵族
单身也许会比较自由,但自由也有一个同义词----叫寂寞.
因为人不是什么时候都喜欢一个人独处的.
有时候好东西需要跟人分享.有时候难过需要人安慰.
单身贵族产生的原因:是因为 |
2009/03/17 11:38
2009/01/22 17:33
Steps to Register a COM Module in a Visual Studio .Net Deployment Project
- Add a COM object to your Visual Studio deployment project.
- In the Solution Explorer, right-click the module that you just added, and then click Properties.
NOTE: The Properties window contains a table with two columns and x number of rows (the number of rows depends on the project). The left column lists the speci |
2009/01/16 14:20
How to: Embed a Manifest Inside a C/C++ Application
It is recommended that a C/C++ application (or library) have its manifest embedded inside the final binary because this ensures proper runtime behavior in most scenarios. Visual Studio by default tries to embed the manifest when building a project from source files; see Manifest Generation in |
2008/11/20 16:15
C++ Namespaces
INTRODUCTION TO NAMESPACES - PART 1
Namespaces are a relatively new C++ feature just now starting to appear in C++ compilers. We will be describing some aspects of namespaces in subsequent newsletters.
What problem do namespaces solve? Well, suppose that you buy two different general-purpose class libraries from two different vendors, and each library has some features that you'd like to use. You include the headers for each class library:
|
2008/11/18 15:34
我们知道,为了能够正确的调用对象的析构函数,一般要求具有层次结构的顶级类定义其析构函数为虚函数。因为在delete一个抽象类指针时候,必须要通过虚函数找到真正的析构函数。
如:
C++:
class CObject{
public:
CObject()
{
}
virtual ~CObject()
{
};
};
class CX: public CObject
{
public:
CX(){...};
~CX(){...};
}
void f()
{
CObject *px;
px = new CX;
delete px;
}
否 |
2008/11/07 18:09
2008/11/06 18:08
http://www.cplusplus.com/reference/stl/map/
Map
Maps are a kind of associative containers that stores elements formed by the combination of a key value and a mapped value.
In a map, the key value is generally used to uniquely identify the element, while the mapped value is some sort of value associated to this key. T |
2008/11/06 17:59
Suppose that you're working with some data that has values associated with strings -- for instance, you might have student usernames and you want to assign them grades. How would you go about storing this in C++? One option would be to write your own hash table. This will require writing a hash function and handling collisions, and lots of testing to make sure you got it right. On the other hand, the standard template library (STL) includes a templated class to handle just this sort of situ |
2008/10/25 14:55
早在去年就听到avril lavigne的这首歌了,打榜成绩也很好,但当时仅仅是作为一首好听的歌曲来看,
直到今天。
mv讲述了三个离别的故事,丈夫去前线,恋人被拆散,老伴离去。最让我感动的是第一个故事,当丈夫即将离家上车时,avril唱到,“When you walk away, I count the steps that you make. Do you see how much i need you right now”, 镜头转到了已经怀孕的妻子身上,可恶的战争。
看到流泪,竟无法控制自己。
http://www.youtube.com/watch?v=5skNjjAIHGE
|
2008/10/22 15:05
******************************************************************************************** Layout of the AVI file. Originally from pvdtools.sourceforge.net/aviformat.txt Corrected and expanded, but still contains errors. ******************************************************************************************** DOESN'T COVER OPENDML EXTENTIONS
"RIFF" size of RIFF chunk; - Chunk Size in Bytes "AVI " "LIST" |
2008/06/23 19:57
照片来自Benson74@flickr.com,在此表示深深的感谢!
|
2008/05/19 23:52
这首歌来自mariah carey,歌名是“bye bye”。
歌中表达了对逝去亲人的怀念,或许这首歌最符合此时此刻的情境了,你是否也被感动了呢?
把它献给5·12中失去亲人的人们,愿逝者安息,生者坚强!
歌词:
This is for my peoples
Who just lost somebody
Your best friend, your baby
Your man or your lady
Put your hand way up high
We will never say bye
No, no, no
Mamas, daddies, sisters, brothers
Friends and cousins
This is for my peopl |
2008/05/19 20:02
历史将永远铭记这个坐标:北纬31度,东经103.4度。一场强震撼动中国,数万生命顷刻陨落。汶川,血泪之地,生民之痛,家国之殇。
中国将永远铭记这个日子:2008年5月19日,五星红旗缓缓下降,13亿人民默默祈祷,向那些静默于废墟之下的生命致哀!
5月18日,国务院发出公告,为表达全国各族人民对地震遇难同胞的深切哀悼,将5月19日到21日定为全国哀悼日,降半旗志哀;5月18日,北京奥组 |
2008/05/19 09:28
国务院公告
为表达全国各族人民对四川汶川大地震遇难同胞的深切哀悼,国务院决定,2008年5月19日至21日为全国哀悼日。在此期间, 全国和各驻外机构下半旗志哀,停止公共娱乐活动,外交部和我国驻外使领馆设立吊唁簿。5月19日14时28分起,全国人民默哀3分钟,届时汽车、火车、舰船鸣笛,防空警报鸣响。 |
|
|
HUSHIE
男
北京 海淀区
上次登录: 17小时前
加为好友
|