Here is a set of C++ demo code for basic study.