aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md3
-rw-r--r--main.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/README.md b/README.md
index f0d536c..f209b6c 100644
--- a/README.md
+++ b/README.md
@@ -3,4 +3,5 @@ A text-based game made in C++
REQUIREMENTS TO COMPILE:
-- A C++ compiler (Such as g++) \ No newline at end of file
+- A C++ compiler (I recommend MinGW)
+- Any Code Editors (Ex: VS Code, Atom, Sublime Text) \ No newline at end of file
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