aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorSan Jacobs2022-08-08 18:40:00 +0200
committerSan Jacobs2022-08-08 18:40:00 +0200
commitb604893e748485d6c9aa4eeb6d40ba432ed052c6 (patch)
treed01da670e55f65dd7fab7cc1e2773300d259b9ef /src/main.cpp
parent0b8b2c423e0ae4da2343b06df3f6491757ab3342 (diff)
downloadsatscalc-b604893e748485d6c9aa4eeb6d40ba432ed052c6.tar.gz
satscalc-b604893e748485d6c9aa4eeb6d40ba432ed052c6.tar.bz2
satscalc-b604893e748485d6c9aa4eeb6d40ba432ed052c6.zip
Stopped program from closing after run
Diffstat (limited to 'src/main.cpp')
-rwxr-xr-xsrc/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 830e737..41577d9 100755
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -242,7 +242,8 @@ done:
std::cout << "\nSum: " << total_sum;
std::cout << "\nTotal: " << total_sum*social_costs << std::endl;
-
+ std::cin.get();
+ std::cin.ignore();
return 0;
}