update c++ directory hierarchical.