If I do that then I get errors in the file "MyClass.h" in defines of the class, All my pointers that are declared, ie:
class MyClass{
private:
static OtherClass *Obj;
}
Then I get an error saying "declaration missing ';'"
And yet all my ';' are there!!
ok, here is the propper declaration of the class:
class OOConsole{ public: OOConsole(); ~OOConsole(); static void ConsoleIn(char*); //Allows input to the console static void ConsoleOut(char*); //Allows Output from console static void Register(OOConsoleFunction*); //Identifies new commands static void getBuffer(char*,int); //Retrieves Console output static void clearBuffer(); //Removes all Console Output static void clearLine(int); //Removes Output on a given line static void LoadFile(char*); //Loads and executes commands from a file static void Scan(char*,char**,char**); //Breaks up a commandline into words private: static char Lines[MAX_CONSOLE_LINES][MAX_CONSOLE_LEN]; //Array containing Output static BTree *FuncMap; //Map of all commands static int LinesFilled; //Position of Last Output};
If I remove the '*' from the BTree, then it SEEMS to work...
But i don't want to remove it
--Josh
Edited by - JoshG on January 3, 2002 3:18:19 AM