Advertisement
Guest User

Untitled

a guest
Mar 21st, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. typedef char Chaine[21];
  2.  
  3. typedef struct Mot {
  4. Chaine mot;
  5. int occurence;
  6. struct Mot *fg, *fd;
  7. } Mot, *ABR;
  8.  
  9.  
  10. ABR NewNoeud(Chaine truc) {
  11. ABR tree = (ABR) malloc(sizeof(Mot));
  12. strcpy(tree->mot, truc);
  13. tree->fg = tree->fd = NULL;
  14. return tree;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement