Skip to content
Snippets Groups Projects
Commit 643c6c7b authored by Vytor Calixto's avatar Vytor Calixto :space_invader:
Browse files

Comenta código pra gerar saída das jogadas

parent c26e008b
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -48,14 +48,14 @@ Lista Joga(Grafo g, Lista grupo){
destroiLista(coresFilhos, destroiVertice);
// // PARA DEBUG!! Imprime as últimas 10 jogadas em um arquivo
char str[32];
sprintf(str, "./jogada%d.out", counter );
FILE* debug = fopen(str, "w+");
if(debug) {
grafoParaDot(g, grupo, debug);
}
fclose(debug);
++counter;
// char str[32];
// sprintf(str, "./jogada%d.out", counter );
// FILE* debug = fopen(str, "w+");
// if(debug) {
// grafoParaDot(g, grupo, debug);
// }
// fclose(debug);
// ++counter;
} while(tamanhoLista(grupo) < tamanhoLista(g->vertices));
return jogadas;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment