📜  打印二维向量 c++ 代码示例

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

代码示例3
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!!
    }
}