Advertisement
gonzalob

Untitled

Sep 8th, 2021
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 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. nodoDoble * inicListaDoble();
  22. nodoDoble * crearNodoDoble(empleado unEmpleado);
  23. nodoDoble * cargarNodoDoble();
  24. void mostrarEmpleado(empleado unEmpleado);
  25. nodoDoble *agregarAlPpioNodoDoble( nodoDoble * listaDoble, nodoDoble * nuevoNodoDoble);
  26. nodoDoble *agregarAlPpio2NodoDoble( nodoDoble * listaDoble, nodoDoble * nuevoNodoDoble);
  27. void mostrarListaDoble(nodoDoble * listaDoble);
  28. nodoDoble * buscarUltimoListaDoble(nodoDoble * listaDoble);
  29. nodoDoble * agregarListaDobleEnOrden(nodoDoble * listaDoble, nodoDoble * nuevoNodo);
  30. nodoDoble * borrarNodoDoble(nodoDoble * listaDoble, float sueldo);
  31. nodoDoble * agregarMuchosListaDoble(nodoDoble * listaDoble);
  32.  
  33. #endif // LISTAS_DOBLES_H_INCLUDED
  34.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement