Advertisement
gonzalob

Untitled

Sep 9th, 2021
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. #ifndef LISTAS_DOBLES_H_INCLUDED
  2. #define LISTAS_DOBLES_H_INCLUDED
  3.  
  4. #include <stdio.h>
  5.  
  6. typedef struct
  7. {
  8. float sueldo;
  9. char NyA[20];
  10.  
  11. }empleado;
  12.  
  13. typedef struct
  14. {
  15. empleado unEmpleado;
  16. struct nodoDoble * anterior;
  17. struct nodoDoble * siguiente;
  18.  
  19. }nodoDoble;
  20.  
  21. typedef struct
  22. {
  23. struct nodoDoble * primero;
  24. struct nodoDoble * ultimo;
  25.  
  26. }fila;
  27.  
  28. nodoDoble * inicListaDoble();
  29. nodoDoble * crearNodoDoble(empleado unEmpleado);
  30. nodoDoble * cargarNodoDoble();
  31. void mostrarEmpleado(empleado unEmpleado);
  32. nodoDoble *agregarAlPpioNodoDoble( nodoDoble * listaDoble, nodoDoble * nuevoNodoDoble);
  33. nodoDoble *agregarAlPpio2NodoDoble( nodoDoble * listaDoble, nodoDoble * nuevoNodoDoble);
  34. void mostrarListaDoble(nodoDoble * listaDoble);
  35. nodoDoble * buscarUltimoListaDoble(nodoDoble * listaDoble);
  36. nodoDoble * agregarListaDobleEnOrden(nodoDoble * listaDoble, nodoDoble * nuevoNodo);
  37. nodoDoble * borrarNodoDoble(nodoDoble * listaDoble, float sueldo);
  38. nodoDoble * agregarMuchosListaDoble(nodoDoble * listaDoble);
  39.  
  40. #endif // LISTAS_DOBLES_H_INCLUDED
  41.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement