Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef BINNODE_H
- #define BINNODE_H
- template <typename E> class BinNode {
- public:
- BinNode(const E& e,BinNode * left = 0, BinNode *right = 0):
- element(e),left(left),right(right)
- {
- //this->element = element;
- //this->left = left;
- //this->right = right;
- }
- E element;
- BinNode *left;
- BinNode *right;
- };
- #endif // BINNODE_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement