[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
pbmserv C++ problem
Some of the pbmserv game engines don't compile under my C++. I know
basic C++, but I'm not a C++ wizard.
Can anyone tell what the following problem is and how to fix it?
---------- when compiling renju_main.cpp: ----------------------
"renju_main.cpp", line 3: error: inherited member is not allowed
const char *Renju::Cols = "abcdefghjklmnop";
^
---------- this intends to inherit from here in gomoku.h ------------
class Gomoku: public Board2D {
protected:
Last last;
static const char *Cols;
public:
....
Thanks,
- Scott