aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index 8c00d62..ea77ed1 100644
--- a/main.cpp
+++ b/main.cpp
@@ -2,6 +2,7 @@
#include <vector>
#include <string>
#include <fstream>
+#include <stdlib.h>
int main()
{
@@ -20,6 +21,6 @@ int main()
year = year+1;
std::cout << "You are now " << age << " and it's " << year << std::endl;
-
+ system("pause");
return 0;
} \ No newline at end of file