how to resize a n d vector code example Example: how to resize 3 d vector array.resize(3,vector<vector<custom_type> >(5,vector<custom_type>(10)));