All pastes #777951 Raw Edit

Untitled

public cpp v1 · immutable
·published 2007-11-17 03:50 UTC
rendered paste body
#include <cstdlib>#include <iostream>using namespace std;int main(int argc, char *argv[]){    int a, b, c, d;            cout <<"Welcome to The First Aroll's Game! Please choose your character: "<<endl; //Welcome Messege    cout <<""<<endl;    cout <<"Character 1: Male Dwarf"<<endl;    cout <<"Character 2: Female Human"<<endl;    cout <<""<<endl;    cout <<"Enter your choise here: ";    cin >> a;    cout <<""<<endl; //Choises of Character        switch (a) {           case 1:                cout <<"You have choisen Character one!"<<endl; //Case one                cout <<""<<endl;                break;                case 2:                     cout <<"You have choisen Character two!"<<endl; //Case two                     cout <<""<<endl;                     break;                     }                            cout <<"I think we are ready to continue! Are you? If Yes, type 1, if No type 2."<<endl; //Are you ready to continue?       cout <<""<<endl;       cout <<"Type your choise here: ";       cin >>b;                     switch (b) {              case 1:                    system("cls"); //Clear console                   break;                                      case 2:                        system("cls");                        cout <<"Game Over!"<<endl;                        cout <<""<<endl;                        system ("PAUSE");                        return 0; //If you say no, you terminate the program!                        }    cout <<"Woah! Let's start the game already!"<<endl; //Second Page starts here. Welcome messege.    cout <<"Where do you want to go?"<<endl;    cout <<""<<endl;    cout <<"1. Azeroth"<<endl;    cout <<"2. Outland"<<endl;    cout <<""<<endl;    cout <<"Type your choise here: ";    cin >>c;    cout <<""<<endl; //World choise        switch (c) {           case 1:                cout <<"Alright, let's go Azeroth. "<<endl; cout <<"Reminder: You need patch 1.7.0 installed to play!" <<endl;                break;  //You can write 5000 lines of code in one line in C++                                case 2:                     cout <<"Alright, let's go Azeroth. Reminder: You need patch 2.3.0 installed to play!" <<endl;                     break;                                          }                     cout <<""<<endl; //End of choises                             system("PAUSE"); //Wait    return EXIT_SUCCESS; }