// Keeping track of shots fired in Battleship game // using multidimentional arrays // Mikhail Nesterenko // 4/13/2013 #include #include using std::cin; using std::cout; using std::endl; using std::vector; int main(){ cout << "Enter ocean length: "; size_t oceanLength; cin >> oceanLength; cout << "Enter ocean width "; size_t oceanWidth; cin >> oceanWidth; vector > shots; // vector of vectors of shots vector shotsRow(oceanWidth); // one row of shots // consider initializing the row of shots for(size_t rows; rows < oceanLength; ++rows) shots.push_back(shotsRow); // place your code here }