Guest User

Untitled

a guest
Jun 18th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. /#include <stdlib.h>
  2. #include <stdio.h>
  3.  
  4. #define MAX 10
  5.  
  6. typedef struct {
  7. int vetor[MAX];
  8. int prim, ultimo;
  9.  
  10. } Blocos;
  11.  
  12. typedef struct {
  13. int num;
  14.  
  15. } TInfo;
  16.  
  17. typedef struct celula_str *Apontador;
  18.  
  19. typedef struct celula_str {
  20. TInfo info;
  21. Apontador prox;
  22.  
  23. } Celula;
  24.  
  25. typedef struct {
  26. Apontador topo,fundo;
  27. int tam;
  28.  
  29. } TPilha;
  30.  
  31.  
  32. // Cabeçalho de Funçoes //
  33. void CriaListaVazia(Blocos *B);
  34. int moveAontoB();
  35. int moveAoverB();
  36. int pileAontoB();
  37. int pileAoverB();
  38. int retornaPosOrig();
Add Comment
Please, Sign In to add comment