Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

New Game

Name: Anonymous 2007-12-06 2:45

Hello I just started my first game.  I need your help deciding what to add to it next.  When done I want it to be like WoW only with graphics like Crysis.  Here is the code I have done so far.

#include <iostream>

using namespace std;


class Hero
{
   
public:
    int Health;
    int Attack;
};



Hero & CreateHero();



int main()

{

Hero *ThisHero = new Hero;

*ThisHero = CreateHero();

Hero *NewHero = ThisHero;

ThisHero->Health = 5;

NewHero->Attack = 10;



cout << ThisHero->Health;
cout << "\n" << ThisHero->Attack;
cin.get();

ThisHero = NULL;

delete ThisHero;

}

Hero & CreateHero()

{
    Hero *MyHero = new Hero;
    return *MyHero;
}

Name: Anonymous 2007-12-06 3:08

Name: Anonymous 2007-12-06 3:46

>>1 is a troll

Name: Anonymous 2007-12-06 3:49

>>3
>>1 is gonna be making the best game ever, look, he even shared code! Bow down to our new overlord!

Name: Anonymous 2007-12-06 3:51

>>1
Fixed it for you:


#include <iostream>

using namespace std;


class GuitarHero
{
  
public:
    int Health;
    int Attack;
};



GuitarHero & CreateGuitarHero();



int main()

{

GuitarHero *ThisGuitarHero = new GuitarHero;

*ThisGuitarHero = CreateGuitarHero();

GuitarHero *NewGuitarHero = ThisGuitarHero;

ThisGuitarHero->Health = 5;

NewGuitarHero->Attack = 10;



cout << ThisGuitarHero->Health;
cout << "\n" << ThisGuitarHero->Attack;
cin.get();

ThisGuitarHero = NULL;

delete ThisGuitarHero;

}

GuitarHero & CreateGuitarHero()

{
    GuitarHero *MyGuitarHero = new GuitarHero;
    return *MyGuitarHero;
}

Name: Anonymous 2007-12-06 3:52

>>1 fails at simple C++ code.

Name: Anonymous 2007-12-06 3:52

>>4-7 Same person

Name: Anonymous 2007-12-06 5:36

>>7
Are you aware that the post range ``>>4-7'' included your own post? Was this the intent?

Name: Anonymous 2007-12-06 5:46

>>8
YHBT

Name: Anonymous 2007-12-06 5:49

>>7,8,10 Same person

Name: Anonymous 2007-12-06 5:57

>>11-11 Same person.

Name: 8 2007-12-06 6:00

>>10
What, don't clump me in with your own fail.

Name: Anonymous 2007-12-06 6:00

this is the worst thread on /prog/

Name: Anonymous 2007-12-06 6:11

ever

Name: Anonymous 2007-12-06 6:23

>>11-12,15
i lol'd!

Name: Anonymous 2007-12-06 6:31

>>17
Haha, true

Name: sage 2007-12-06 6:51

>>16
nigger

Name: Anonymous 2007-12-06 7:08

>>21
I doubt that you could write a program that does that, but go ahead and prove me wrong.

Name: Anonymous 2007-12-06 8:04

I give it 6/10. The trolling is subtle at some of the lines.

Name: Anonymous 2007-12-06 10:43

>>23
Is a fag

Name: Anonymous 2007-12-06 10:46

>>18
your mom

Name: Anonymous 2007-12-06 10:48

AnHero();

Name: Anonymous 2007-12-06 16:15

>>20
No I'm not!

Name: Anonymous 2007-12-06 16:15

>>50 is the REAL faggot.

Name: Anonymous 2007-12-06 16:58

>>1
Obvious troll is obvious. But make me laugh and keep trolling, OP

Name: Anonymous 2007-12-06 17:23

>>27 can suck my balls

Name: Anonymous 2007-12-06 17:24

>>16-17
o lol

Name: Anonymous 2007-12-06 17:31

>>29
This statement is false

Name: Anonymous 2007-12-06 17:32

>>28
This statement is true

Name: Anonymous 2007-12-06 17:48

>>30
This statement thinks, therefore it is.

Name: Anonymous 2007-12-06 20:48

The below statement is true

Name: Anonymous 2007-12-06 20:50

The above statement is false

Name: Anonymous 2007-12-06 21:58

The above statement is false.
Crisis averted.

Name: Anonymous 2007-12-06 22:45

>>33
TOO FUCKING LATE.

Name: Anonymous 2007-12-07 4:36

>>50 is going to fail

Name: Anonymous 2007-12-07 7:26

>>50 Fuck yea

Name: Anonymous 2007-12-07 7:32

>>50
It that Haskell?

Name: Anonymous 2007-12-07 9:04

>>50
Are you a a faggot by chance?

Name: Anonymous 2007-12-07 9:23

Lol, >>50 is so screwed.

Name: Anonymous 2007-12-07 10:09

Fuck you >>50

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List