bot is a substructure of Bot. So you need to use it as Bot::bot in main.cpp.
Your methods have no class specification in them, if you are not implemented inline, you have to tell the compiler what class each function belongs to.
should beCode:bot BotTrue(bot* botA)...
Also, TObject doesn't appear to be declared anywhere.Code:bot Bot::BotTrue(bot* botA)...




Reply With Quote
