Use Hadoop pesudo distributed.
How to install CentOS Linux on VMware 12
This post will introduce how to install a CentOS on VMware 12.
function wrap
This post will introduce a C++ 11 feature, std::function
. It can wrap any kind of callable element into a copyable object and whose type depands soly on its call signature.
IO redirction
In some cases, programmer wants to redirect input or output as a file for debugging facility. This post will introduce how to redirect input and output in C and C++ program.
smart pointer
This post will introduce two types of smart pointers, which can help programmers to manage objects allocated in heap.
Two ways for separating interface from implementation
Usually, the providers of a program want to hide the module’s concrete technique implementation. In this post, two ways for this goal will be introduced. One is called pImpl, another is pure abstract class.
explicit constructor
This post will introduce a key word explicit that can forbid the implicit type casting by constructor with only one parameter.
Copy Constructors and Assignment Operators
This post will introduce two members in C++ class. The first is copy constructor that can perform a deep copy for member variables. Another one is assignment operator which is used to assign one to another by overloading =
operator.