Advertisement
Guest User

Untitled

a guest
May 24th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. int main()
  2. {
  3. //Node root;
  4. readFile();
  5. tempCount = count;
  6. printf("number of words: %d\n", count);
  7. start=0;
  8. end = count-1;
  9. printf("%s\n", word[9].value);
  10. Node first, *root;
  11. root=createTree();
  12. strcpy(root->value, word[9].value);
  13. printf("%s\n", root->value);
  14. printf("%s %s\n", root->value, word[5].value);
  15. strcpy(first.value, word[5].value);
  16. //strcpy(second.value, word[3].value);
  17. insert(root, &first);
  18. //insertBalanced(start, end);
  19.  
  20. return 0;
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement