I just have problem in this function, line 5 and 6. Why I can't create an object of class?
1 2 3 4 5 6 7 8 9 10
void inserirMatriz(int** M, int qLinhas, int qColunas) {
for (int i = 0; i < qLinhas; ++i) {
for (int j = 0; j < qColunas; ++j) {
if (M[i][j]) {
MatrizEncadeada n(i, j, M[i][j]);
dados.push_back(n);
}
}
}
}