using vector as 2d array code example
Example: how to take input in 2d vector in c++
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!!
}
}