Another doubt. How to use <vector> can not access methods of the class aluno.

--- Code-------

std::vector<aluno> a(nr_alunos);
cout << "\nTotal:" << a[1].quantidade();