help please!!! I have code made just need implmenetation
In this assignment, we are to make the provided testBST.cpp, aninteger BST into a generic template BST to host the following datatypes:
- Integer,
- String,
- Frac, and
- FeetInches.
I have the code but please help implement two headerfiles to the program:
#include<iostream>
#include<vector>
#include “Frac.h”
#Include “FeetInches.h”
using namespace std;
//lets implement a basic templated tree
template
class Node {
public:
T data;
Node *left, *right, *parent;
Node() {
left = right = parent = NULL;
};
Node(T &value) {
data = value;
};
~Node() {
};
void operator= (const Node &other) {
data = other.data;
};
bool operator< (T &other) {
return
PayPal Gateway not configured
PayPal Gateway not configured