samedi 27 février 2016

How to check if a vector of a vector exists?

I would like to know if a vector of vectors exist

for example

vector<vector<int> > edges;

Now I would like to check if edges[i] existis. I tried

if(edges[i] == NULL)

But it did not seem to work. How this can be resolved?

Aucun commentaire:

Enregistrer un commentaire