eduardovp97

ListaCircular.h

Dec 2nd, 2016
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.36 KB | None | 0 0
  1. #ifndef LISTAC_H
  2. #define LISTAC_H
  3.  
  4. typedef char* TInfo;
  5.  
  6. typedef struct node{
  7.     char info[20];
  8.     struct node* next;
  9. }TNode;
  10.  
  11. typedef struct listaC{
  12.     TNode *first;
  13.     TNode *last;
  14.     int elem;
  15. }TListaC;
  16.  
  17. void crearLista(TListaC *lc);
  18. void insertar(TListaC *lc, TInfo x);
  19. void mueranTodos(TListaC *lc, TInfo x, int k);
  20. void printList(TListaC *lc);
  21.  
  22. #endif
Add Comment
Please, Sign In to add comment