Advertisement
Guest User

Untitled

a guest
Jul 17th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #ifndef LISTASE_H
  4. #define LISTASE_H
  5.  
  6. typedef int tp_item;
  7.  
  8. typedef struct tp_no{
  9. tp_item info;
  10. struct tp_no *prox;
  11. }tp_listase;
  12.  
  13. tp_listase *IniciarLista(){
  14. return NULL;
  15. }
  16.  
  17. tp_listase *AlocarListase(){
  18. tp_listase *l;
  19. l = (tp_listase *)malloc(sizeof(tp_listase));
  20. return l;
  21. }
  22.  
  23.  
  24. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement