aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorAlee <Alee14498@gmail.com>2019-01-27 22:17:10 -0500
committerAlee <Alee14498@gmail.com>2019-01-27 22:17:10 -0500
commitab3bc9a86613d9aca5da531595394b83c94669ff (patch)
tree80379a2afd007bb92c7c5fc50694d32d958ef60f /main.cpp
parent71c43d4c407e05cfabbcecfcb4d1e3625bdbdd25 (diff)
downloadProject-Xeon-ab3bc9a86613d9aca5da531595394b83c94669ff.tar.gz
Project-Xeon-ab3bc9a86613d9aca5da531595394b83c94669ff.tar.bz2
Project-Xeon-ab3bc9a86613d9aca5da531595394b83c94669ff.zip
Things
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