I have this error:
no match for 'operator*' (operand type is 'std::__cxx11::list') C/C++ Problem
Because of this:
if (vetorTop[i] == *adj[u]){...
They are inicialised:
adj = new list <int>[N];
vector <int> vetorTop;
Any hints or help is appreciated, thanks in advance.
Aucun commentaire:
Enregistrer un commentaire