I have cooked up a header file(i got it from the tutorial and made it into a header file) but when i compile it i get tjeis strange error, here is the code:
Code:#ifndef _ANIMAL_ #define _ANIMAL_ namespace Mammal { class Animal { public: void eat(); void sleep(); void drink(); private: int legs; int arms; int age; }; } #endif