how to initialise a n x n vector in c++ code example Example: how to initialize a vector in c++ std::vector<type> name;