📜  初始化 2D 向量 - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:54.559000             🧑  作者: Mango

代码示例6
std::vector> d;
//std::vector d;
cout<<"Enter the N number of ship and port:"<>in;
cout<<"\Enter preference etc..:\n";
for(i=0; i>temp;
    d.push_back(temp);// I don't know how to push_back here!!
    }
}