From ab3bc9a86613d9aca5da531595394b83c94669ff Mon Sep 17 00:00:00 2001 From: Alee Date: Sun, 27 Jan 2019 22:17:10 -0500 Subject: Things --- main.cpp | 28 ++++++++++++++++++++++++---- 1 file changed, 24 insertions(+), 4 deletions(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index 95cc365..9c27f20 100644 --- a/main.cpp +++ b/main.cpp @@ -1,10 +1,30 @@ #include - -using namespace std; +#include +#include +#include + +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 -- cgit v1.2.3