diff options
| -rw-r--r-- | README.md | 3 | ||||
| -rw-r--r-- | main.cpp | 3 |
2 files changed, 4 insertions, 2 deletions
@@ -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 @@ -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 |
