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

C++ Exception Class

Name: Anonymous 2009-10-12 17:38

I have to write/fix this class for an exception in a tic tac toe prompt game, it has to throw an error whenever 0>x>8

Any of you brilliant motherfuckers want to help?

#ifndef illegalmoveexception
#define illegalmoveexception

#include <stdexcept>
#include <string>

using namespace std;
class illegalmoveexception : public illegal_move_exception
{
public:
    illegalmoveexception();
    : illegal_move_exception("invalid move")
   
};

Name: Anonymous 2009-10-14 0:31

>>27
I might add to your post the following:
Theism is the belief in a supernatural god(s).
Atheism is the lack of belief.
Gnosticism is the belief that we can determine whether or not supernatural forces exists, we just haven't done it yet.
Agnosticism is the belief that we cannot know - not now or ever - whether or not supernatural forces exist. The very question is outside the realm of quantifiable knowledge.

It is possible to be a Gnostic Atheist and an Agnostic Theist, although these two classes are quite rare.

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