Advertisement
Guest User

Untitled

a guest
Dec 15th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <string.h>
  4. #include <ctype.h>
  5. #include "binary.h"
  6. ;struct Tree *tree_create()
  7. {
  8. struct Tree *tree = malloc(sizeof(struct Tree));
  9. tree->root = NULL;
  10. return tree;
  11. }
  12.  
  13. void tree_insert(struct Tree *tree, int value){
  14. if(tree->root == NULL){
  15.  
  16. }
  17.  
  18. if(value > tree->root->value){
  19.  
  20. }
  21. }
  22.  
  23. int main()
  24. {
  25. struct Tree *tree = tree_create();
  26.  
  27.  
  28. return 1;
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement