yes

Dependencies:   microbit-dal

Revision:
15:470dd4b66b6f
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/inc/binTree.h	Mon Mar 04 17:07:58 2019 +0000
@@ -0,0 +1,29 @@
+
+#include <string>
+
+using std::string;
+
+
+class binTree
+{
+
+public:
+//defining tree and values stored inside.
+    struct node{
+    node* dot;
+    node* dash;
+    node *root;
+    char inputC;
+    string morse;
+    };
+    node *root;
+    
+    binTree();
+//functions for binary tree
+    void insert(char inputC, string morse, node * root);
+/*binTree::node* search(string morse, node * leaf);*/
+//binTree::node* search(string morse);
+    void insert(char inputC, string morse);
+    char tFind(node*, string morse);
+};
+