📜  如何在 C++ 代码示例中输入二维向量

📅  最后修改于: 2022-03-11 14:44:46.981000             🧑  作者: 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!!
    }
}