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-13 23:18

>>20
Thanks, I figured it out.

>>14
SO does that mean quantum mechanics are all liars just because they can't finish the work, or that string theorists are wrong?  Does that mean people who believe in religion are wrong, or that atheists are wrong because they have an idea they just can't implement it to come up with a solution.  Your logic is flawed sir.

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