12345678
class Cohort { public: Cohort(); void insert(Student x); private: vector <string> names; vector <vector<int> >marks(3, vector <int>()); };
vector <vector<int> >marks(3, vector <int>());
{
}
vector <vector<int> >marks{3, vector <int>()};
marks
12345
Cohort::Cohort() : marks(3, vector<int>()) // use vector<int>() if you want, but it's not necessary { // .. }