I have looked through some of the posts and understand how to include a .h file. I have my .cpp and .h file saved in the same place but when I compile I get the error that my .h file doesn't exsist??!! Any suggestions as to why this might be happening??
Code:
#include <string>
#include<iostream>
#include "avlbst.h"
using namespace std;
int item;
int main (){
cout<< "Enter the item that you would like to place in the Binary Search Tree"<< endl;
cin >> item;
while (cin ){
AVLBST.AVLInsert(item);
AVLBST.PrettyPrint();
}
return 0;
}