While trying to compile the driver method, my compiler presented me w/ MANY errors....all refering to the header file you see here. I would like to know if there is any thing i declared wrong in the include files and if my attack() function is declared right since one of the errors pointed to its line.
-if i'm not being specific enough or you would like to see more code, just ask
thanks
Code://#include "Weapon.h" #include<iostream> #include "Player.h" using namespace std; class Enemy { public: void stats(); void bStats(); int attack(Enemy* enemyN, Player* playerN); private: int m_hp; int m_mp; int m_str; int m_exp; int m_level; string m_name; } //more code.....all of the functions are declared here...



LinkBack URL
About LinkBacks


