This is some examples using c++ to learn algorithms.