aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp28
1 files changed, 24 insertions, 4 deletions
diff --git a/main.cpp b/main.cpp
index 95cc365..9c27f20 100644
--- a/main.cpp
+++ b/main.cpp
@@ -1,10 +1,30 @@
#include <iostream>
-
-using namespace std;
+#include <vector>
+#include <string>
+#include <fstream>
+
+void displayMenu()
+{
+
+}
int main()
{
- cout << "Hello World!" << endl;
- system("pause");
+ int age;
+ int year = 2019;
+ std::string guy;
+ int mainChoice;
+
+ std::cout << "Welcome to Project Xeon! A text-based game made in C++!" << std::endl;
+ std::cout << "Please enter your name..." << std::endl;
+ std::getline(std::cin, guy);
+ std::cout << "Hello "<< guy << "!" << std::endl;
+
+ age = 0;
+ age = age+1;
+ year = year+1;
+
+ std::cout << "You are now " << age << " and it's " << year << std::endl;
+
return 0;
} \ No newline at end of file