karlangadas

polinomios.h

Oct 24th, 2016
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.42 KB | None | 0 0
  1. #ifndef POLINOMIOS_H
  2. #define POLINOMIOS_H
  3.  
  4. typedef struct nodo{
  5.     int coef;
  6.     int expoX;
  7.     int expoY;
  8.     struct nodo *sig;
  9. }TNodo;
  10.  
  11. typedef struct lista{
  12.     TNodo *inicio;
  13.     TNodo *fin;
  14.     int numTerminos;
  15. }TLista;
  16.  
  17. int isEmpty(TLista);
  18. int tamanho(TLista);
  19. void init(TLista *);
  20. void insert(TLista *,int,int,int);
  21. void suma(TLista *, TLista *,TLista *);
  22. void pprint(TLista *);
  23. int BuscarCoef(int,int,TLista *);
  24.  
  25. #endif
Advertisement
Add Comment
Please, Sign In to add comment