Gabriel_Rofl

arvore.h

Nov 7th, 2017
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.29 KB | None | 0 0
  1. #ifndef __ARVORE_H__
  2. #define __ARVORE_H__
  3.  
  4. typedef struct node{
  5.     struct node* direita;
  6.     struct node* esquerda;
  7.     int dado;
  8. }t_no;
  9.  
  10. typedef struct{
  11.     t_no* inicio;
  12. }t_tree;
  13.  
  14. t_no* aloca_no(int valor);
  15. t_tree* first();
  16.  
  17. void insere(t_no* node, t_tree* tree);
  18. int type();
  19.  
  20. #endif
Add Comment
Please, Sign In to add comment