摘要:
(注:这篇文章学术性较强,有兴趣的读者请耐心读完) 当一个人找不到生命的意义,经常感到空虚、无聊、绝望时,难免会产生厌世的情绪,极端时会选择自杀。一个20来岁的青年人,因为找不到生命的意义而自杀。在自杀前,他进行了数年的深思熟虑,试图通过思辨去论证生命到底有没有意义。反复思考的结果是生命没有意义,最 阅读全文
摘要:
1. Deducing TypesItem 1: Understand template type deduction. Item 2: Understand auto type deduction. Item 3: Understand decltype.Item 4: Know how to v 阅读全文
摘要:
Association Association is relation between two separate classes which establishes through their Objects. Association can be one-to-one, one-to-many, 阅读全文
摘要:
An Example of Association, Composition and Aggregation in Java Here is an example of composition and aggregation, in terms of Java Code. By looking at 阅读全文
摘要:
Introduction Ooops. Yet another article on smart pointers of C++11. Nowadays I hear a lot of people talking about the new C++ standard which is nothin 阅读全文
摘要:
Introduction I'm writing this article to unleash the various new features supported by C++11 as part of core language and library.Already I have poste 阅读全文
摘要:
Introduction The purpose of this article is to share with the community, the understanding and knowledge, to the how and why, of compiling and using, 阅读全文
摘要:
对于普通类型的对象来说,它们之间的复制是很简单的,例如:int a=88;int b=a; 而类对象与普通对象不同,类对象内部结构一般较为复杂,存在各种成员变量。下面看一个类对象拷贝的简单例子。 #include <iostream>using namespace std;class CExampl 阅读全文