using C++ to describe about data structure