#include <vector>
is a must when you use vector
.
using std::vector;
is optional as this saves you from typing std::
when declaring a vector for example.
vector<int> v; // no need prefix std::
#include <vector>
is a must when you use vector
.
using std::vector;
is optional as this saves you from typing std::
when declaring a vector for example.
vector<int> v; // no need prefix std::