Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "RBNode.h"
- #include "Customer.h"
- class CNode : RBNode
- {
- private:
- Customer* customer; // customer info object
- int count; // books count
- int left_max_count, right_max_count; // books count for left & right trees
- public:
- CNode(Customer* customer, int key);
- };
Advertisement
Add Comment
Please, Sign In to add comment