Posts by Guilherme Westrup • 71 points
2 posts
-
1
votes4
answers4160
viewsA: Copy from txt file to other
I couldn’t understand Std::find very well, but I will use your examples to train, thank you very much for the answers! I ended up solving it this way: int main(void) { void copiaConteudo(FILE…
-
6
votes4
answers4160
viewsQ: Copy from txt file to other
int main(void) { void copiaConteudo(FILE *arquivo, FILE *arquivo1); FILE *arquivo = fopen("tmp/exercicio.txt","r"); if (arquivo == NULL) { printf ("Não foi possível abrir o arquivo"); return 1; }…