add a c++ directory