Created
October 18, 2016 14:12
-
-
Save astamatto/c74acb7466fe6ed0b6d171859e8a072e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//linha 22 | |
int contar(map<int, arvore*>::iterator it); //faltou mudar a assinatura lá em cima | |
//linha 72 | |
cont = contar(mapa.find((*aux)->chave)); //Em C++ iterators são ponteiros, você precisa seguir o iterator/ponteiro, | |
// aí cai em um ponteiro para árvore, e segue de novo com a setinha |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment