Hi,how would i need to change this code to accept strings insted integers in avl tree?
template<class T>
void InsertItem(TreeType<T>& tree)
{
cout << "Enter number: ";
int num;
cin >> num;
tree.InsertItem(num);
cout << "Number inserted:" << num;
}