I've been trying to work it out for more than 10 hours already and still can get pass this
The basic skeleton is like this
class BST
{
public:
....
void insert (const device & aDevice);
.....
private:
.....
};
class device : public BST
{
.....
};
Then keep getting an error that say that ran
"error C2504: 'BST' : base class undefined" on the class device : public BST
"error C4430: missing type specifier - int assumed. Note: C++ does not support default-int" on the insert function
Can any one help? I've really new to inheritance