From 8b63ce10c0cdf3ef1143895f9687e10d8cd83fe9 Mon Sep 17 00:00:00 2001 From: luizklitzke1 Date: Sun, 26 Nov 2023 22:07:24 -0300 Subject: [PATCH] =?UTF-8?q?Manter=20o=20terminal=20vivo=20para=20exibir=20?= =?UTF-8?q?mensagem=20de=20conclus=C3=A3o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CPP Parallel Processing/kernel.cu | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CPP Parallel Processing/kernel.cu b/CPP Parallel Processing/kernel.cu index c3e8749..9153cf7 100644 --- a/CPP Parallel Processing/kernel.cu +++ b/CPP Parallel Processing/kernel.cu @@ -7,6 +7,7 @@ #include #include #include +#include #include "windows.h" @@ -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; }