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

R.I.P Moot <3

Name: W.T.Snacks !4eEBk6zjN6 2007-03-31 18:36 ID:OfRkmCzQ

I'm here to inform everyone of a terrible loss.

Yesterday, around 4:00pm, I received a phone call telling me that moot has been in a fatal car accident.

I'm not feeling up to explaining detail of the accident, and how it happened, I'm just here to notify everyone since his family would be devastated, and his brother probably wouldn't want to explain the loss to a bunch of guys on the net.

Maybe if you wanted to show respect, and make him proud, leave a R.I.P moot or something in your sigs/msn/aim/whatever.
Just an idea.

Sorry everyone.

Name: Anonymous 2007-04-02 22:11 ID:IdNHKb1y

#include <cstdio>
#include <cstdlib>
#include <ctime>


typedef enum
{
DEAD,
ALIVE
}Status;

class Person
{
public:
bool isAlive();
void routine();
void setLife(int);
Person();
private:
int m_life;
Status m_status;
};

Person::Person()
{
m_life = 100;
}

void Person::routine()
{
if(m_life>0)
m_status = ALIVE;
else
m_status = DEAD;
}


bool Person::isAlive()
{
routine();
return m_status==ALIVE;
}

void Person::setLife(int life)
{
routine();
m_life = life;
}


int main(int argc, char *argv[])
{
Person *moot = new Person;
srand(time(NULL));
moot->setLife((rand()%200)-100);
if(moot->isAlive())
{
printf("THREAD FAILED");
}
else
{
printf("TOO BAD FOR MOOT LOL");
}
delete moot;
getchar();
return 0;
}



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