diff options
| author | Alee <Alee14498@gmail.com> | 2019-01-27 22:17:10 -0500 |
|---|---|---|
| committer | Alee <Alee14498@gmail.com> | 2019-01-27 22:17:10 -0500 |
| commit | ab3bc9a86613d9aca5da531595394b83c94669ff (patch) | |
| tree | 80379a2afd007bb92c7c5fc50694d32d958ef60f /main.cpp | |
| parent | 71c43d4c407e05cfabbcecfcb4d1e3625bdbdd25 (diff) | |
| download | Project-Xeon-ab3bc9a86613d9aca5da531595394b83c94669ff.tar.gz Project-Xeon-ab3bc9a86613d9aca5da531595394b83c94669ff.tar.bz2 Project-Xeon-ab3bc9a86613d9aca5da531595394b83c94669ff.zip | |
Things
Diffstat (limited to 'main.cpp')
| -rw-r--r-- | main.cpp | 28 |
1 files changed, 24 insertions, 4 deletions
@@ -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 |
