Advertisement
lencinasalejo

lista(?)

May 24th, 2019
370
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.46 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. typedef int t_info;
  4. typedef struct s_nodo
  5. {
  6.     t_info info;
  7.     struct t_nodo sig;
  8. } t_nodo;
  9. typedef t_nodo *t_lista;
  10. void crearLista(t_lista *);
  11. int ponerEnLista(t_lista *, const t_info );
  12. int sacarPrimeroLista(t_lista *, t_info *);
  13. int sacarUltimoLista(t_lista *, t_info *);
  14.  
  15. int main()
  16. {
  17.  
  18.     return 0;
  19. }
  20. void crearLista(t_lista *l)
  21. {
  22.     *l = NULL;
  23.  
  24. }
  25. int ponerEnLista(t_lista *l, const t_info *i)
  26. {
  27.  
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement