Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef CONJUNTO_H
- #define CONJUNTO_H
- typedef int TInfo;
- typedef struct Node{
- TInfo value;
- struct Node* next;
- }TNode;
- typedef struct Conjunto{
- TNode *first;
- TNode *last;
- int nElem;
- }TConjunto;
- void unionAux(TConjunto* a,TConjunto* b,TConjunto* c);
- void interseccion(TConjunto* a,TConjunto* b,TConjunto* c);
- void diferencia(TConjunto* a,TConjunto* b,TConjunto* c);
- int miembro(TConjunto *a, TInfo x);
- void initConjunto(TConjunto *a);
- void insertar(TConjunto *a, TInfo x);
- void remover(TConjunto *a, TInfo x);
- int minimo(TConjunto *a);
- int maximo(TConjunto *a);
- int igual(TConjunto* a,TConjunto* b);
- void imprimir(TConjunto *a);
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement