Skip to content

Commit

Permalink
Manter o terminal vivo para exibir mensagem de conclusão
Browse files Browse the repository at this point in the history
  • Loading branch information
luizklitzke1 committed Nov 27, 2023
1 parent fb700b5 commit 8b63ce1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CPP Parallel Processing/kernel.cu
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include <ppl.h>
#include <iostream>
#include <string>
#include <conio.h>

#include "windows.h"

Expand Down Expand Up @@ -510,5 +511,8 @@ int main(int argc, char **argv)

fclose(fp);

printf("\nExecução finalizada, resultados salvos no arquivo results.txt, presente no mesmo path desse executável.\n\nPrecione qualquer tecla para fechar o terminal.\n");
_getch();

return 0;
}

0 comments on commit 8b63ce1

Please sign in to comment.