From e563815306591a528f3eb8ce3eaa7a44f4d8d006 Mon Sep 17 00:00:00 2001 From: Luke Else Date: Sun, 4 Dec 2022 17:40:14 +0000 Subject: [PATCH] Added cin to hold the console at the end of execution --- src/main.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index 021f168..05f3286 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,4 +1,5 @@ #include "days/days.h" +#include template void runSolutions() { @@ -51,6 +52,9 @@ void runSolutions() { //Free memory for heap allocated solution delete solution; + //Hold the console + std::cin; + } }