aboutsummaryrefslogtreecommitdiff
path: root/main.cpp
blob: ea77ed1bf852a0469110dfdb1865e614480513df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include <iostream>
#include <vector>
#include <string>
#include <fstream>
#include <stdlib.h>

int main()
{
    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;
    system("pause");
    return 0;
}