reorganized c++ paths