Name: Anonymous 2006-08-04 13:23
MY FIRST CODE EVER
WUT DO YOU THINK
_________________________
// Scase.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
using namespace std;
void playgame();
void loadgame();
void playmultiplayer();
void loser();
void WNX();
void mainmenu()
{
int input;
cout<<"1. Play game\n";
cout<<"2. Load game\n";
cout<<"3. Play multiplayer\n";
cout<<"4. Exit\n";
cout<<"5. Uninstall\n";
cout<<"Selection: ";
cin>> input;
switch ( input ) {
case 1: // Note the colon, not a semicolon
playgame();
break;
case 2: // Note the colon, not a semicolon
loadgame();
break;
case 3: // Note the colon, not a semicolon
playmultiplayer();
break;
case 4: // Note the colon, not a semicolon
cout<<"Thank you for playing!\n";
break;
case 5:
cout<<"Uninstalling. 1...2...3...4...5 Uninstalled\n";
break;
default: // Note the colon, not a semicolon
cout<<"You're a Retard, quitting\n";
break;
}
cin.get();
}
void playgame()
{
cout<<"Loading The Game\n";
cout<<"Loaded!\n";
cout<<"You start out in a deep deep dark dungeon with an RCP90 in your right hand a cougar magnum in your holster. You see a door to you left and a rope leading up to a hole in the ceiling above you. What do you do?\n";
int input4;
cout<<"1. Walk out door.\n";
cout<<"2. Climb Rope.\n";
cin>> input4;
switch ( input4 ) {
case 1:
cout<<"You walk out the door and get killed by a roaming Dorrito.\n";
cout<<" \n";
cout<<" \n";
cout<<".........\n";
cin.get();
loser();
break;
case 2:
cout<<"You climb up the rope - and suddenly - a huge boulder comes down and crushes your gun - the loss of your gun give you a sense of ultimate failure and you kill yourself.\n";
cout<<" \n";
cout<<" \n";
cout<<"..........\n";
cin.get();
mainmenu();
break;
}
cin.get();
}
void loadgame()
{
cout<<"Loading Saved Game\n";
int input3;
cout<<"1. davidsgay.sav (10:30 PM)\n";
cout<<"2. x23 doest know how to say his first name.sav (13:37 PM)\n";
cout<<"3. nicksadick.sav (83485813738:01 AM)\n";
cin>> input3;
switch ( input3 ) {
case 1:
cout<<"Loaded.\n";
break;
mainmenu();
case 2:
cout<<"Loaded.\n";
break;
mainmenu();
case 3:
cout<<"Nick Is Infact - A dick.\n";
break;
mainmenu();
}
cin.get();
}
void playmultiplayer()
{
cout<<"Connecting To Master Server\n";
int input2;
cout<<"1. myg0t official svr #1\n";
cout<<"2. WNx LTK 24/7 Retard Van\n";
cout<<"3. Official 'I HATE THAT DAMN DORRITO' Server\n";
cin>> input2;
switch ( input2 ) {
case 1:
cout<<"MOTD: myg0t h4x3d j000000!!!!\n";
break;
case 2:
cout<<"MOTD: Hurrrr..... hurrrrr. hurrrrrrrrrrr.....!\n";
cout<<"...........................\n";
WNX();
break;
case 3:
cout<<"MOTD: A Dorrito Killed You!\n";
loser();
break;
}
cin.get();
}
void loser()
{
cout<<"You Have Done Teh Loosed!\n";
int inputlose;
cout<<"1. Return To Main Menu\n";
cout<<"2. Exit\n";
cin>> inputlose;
switch ( inputlose ) {
case 1:
mainmenu();
case 2:
cout<<"Thank you so-a much for-a playing my game!\n";
break;
}
}
void WNX()
{
cout<<"Player List\n";
cout<<"...........................\n";
int inputwnx1;
cout<<"1| WNx Embercatser\n";
cout<<"2| WNx Kalyse\n";
cout<<"3| WNx Helios\n";
cout<<"4| -[JS]- x23\n";
cout<<"5| Sean Connery *excuse me*\n";
cin>> inputwnx1;
switch ( inputwnx1 ) {
case 1:
cout<<"player killed WNx Embercatser\n";
cout<<"WNx Embercatser says AAAaargh HAAAArrrblll!!!! *explodes because he is so obese*\n";
break;
case 2:
cout<<"Im a retard\n";
WNX();
break;
case 3:
cout<<"Lol I dont even know this guy\n";
WNX();
break;
case 4:
cout<<"WTF DONT KILL HIM! BANT!!!\n";
break;
case 5:
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
break;
}
}
int main()
{
mainmenu();
}
WUT DO YOU THINK
_________________________
// Scase.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include <iostream>
using namespace std;
void playgame();
void loadgame();
void playmultiplayer();
void loser();
void WNX();
void mainmenu()
{
int input;
cout<<"1. Play game\n";
cout<<"2. Load game\n";
cout<<"3. Play multiplayer\n";
cout<<"4. Exit\n";
cout<<"5. Uninstall\n";
cout<<"Selection: ";
cin>> input;
switch ( input ) {
case 1: // Note the colon, not a semicolon
playgame();
break;
case 2: // Note the colon, not a semicolon
loadgame();
break;
case 3: // Note the colon, not a semicolon
playmultiplayer();
break;
case 4: // Note the colon, not a semicolon
cout<<"Thank you for playing!\n";
break;
case 5:
cout<<"Uninstalling. 1...2...3...4...5 Uninstalled\n";
break;
default: // Note the colon, not a semicolon
cout<<"You're a Retard, quitting\n";
break;
}
cin.get();
}
void playgame()
{
cout<<"Loading The Game\n";
cout<<"Loaded!\n";
cout<<"You start out in a deep deep dark dungeon with an RCP90 in your right hand a cougar magnum in your holster. You see a door to you left and a rope leading up to a hole in the ceiling above you. What do you do?\n";
int input4;
cout<<"1. Walk out door.\n";
cout<<"2. Climb Rope.\n";
cin>> input4;
switch ( input4 ) {
case 1:
cout<<"You walk out the door and get killed by a roaming Dorrito.\n";
cout<<" \n";
cout<<" \n";
cout<<".........\n";
cin.get();
loser();
break;
case 2:
cout<<"You climb up the rope - and suddenly - a huge boulder comes down and crushes your gun - the loss of your gun give you a sense of ultimate failure and you kill yourself.\n";
cout<<" \n";
cout<<" \n";
cout<<"..........\n";
cin.get();
mainmenu();
break;
}
cin.get();
}
void loadgame()
{
cout<<"Loading Saved Game\n";
int input3;
cout<<"1. davidsgay.sav (10:30 PM)\n";
cout<<"2. x23 doest know how to say his first name.sav (13:37 PM)\n";
cout<<"3. nicksadick.sav (83485813738:01 AM)\n";
cin>> input3;
switch ( input3 ) {
case 1:
cout<<"Loaded.\n";
break;
mainmenu();
case 2:
cout<<"Loaded.\n";
break;
mainmenu();
case 3:
cout<<"Nick Is Infact - A dick.\n";
break;
mainmenu();
}
cin.get();
}
void playmultiplayer()
{
cout<<"Connecting To Master Server\n";
int input2;
cout<<"1. myg0t official svr #1\n";
cout<<"2. WNx LTK 24/7 Retard Van\n";
cout<<"3. Official 'I HATE THAT DAMN DORRITO' Server\n";
cin>> input2;
switch ( input2 ) {
case 1:
cout<<"MOTD: myg0t h4x3d j000000!!!!\n";
break;
case 2:
cout<<"MOTD: Hurrrr..... hurrrrr. hurrrrrrrrrrr.....!\n";
cout<<"...........................\n";
WNX();
break;
case 3:
cout<<"MOTD: A Dorrito Killed You!\n";
loser();
break;
}
cin.get();
}
void loser()
{
cout<<"You Have Done Teh Loosed!\n";
int inputlose;
cout<<"1. Return To Main Menu\n";
cout<<"2. Exit\n";
cin>> inputlose;
switch ( inputlose ) {
case 1:
mainmenu();
case 2:
cout<<"Thank you so-a much for-a playing my game!\n";
break;
}
}
void WNX()
{
cout<<"Player List\n";
cout<<"...........................\n";
int inputwnx1;
cout<<"1| WNx Embercatser\n";
cout<<"2| WNx Kalyse\n";
cout<<"3| WNx Helios\n";
cout<<"4| -[JS]- x23\n";
cout<<"5| Sean Connery *excuse me*\n";
cin>> inputwnx1;
switch ( inputwnx1 ) {
case 1:
cout<<"player killed WNx Embercatser\n";
cout<<"WNx Embercatser says AAAaargh HAAAArrrblll!!!! *explodes because he is so obese*\n";
break;
case 2:
cout<<"Im a retard\n";
WNX();
break;
case 3:
cout<<"Lol I dont even know this guy\n";
WNX();
break;
case 4:
cout<<"WTF DONT KILL HIM! BANT!!!\n";
break;
case 5:
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
cout<<"EXCUSE ME!!!!!!!\n";
break;
}
}
int main()
{
mainmenu();
}