Advertisement
Guest User

Untitled

a guest
Dec 1st, 2015
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. struct amigo{
  5. char nome[40];
  6. int celular;
  7. char email[40];
  8. struct amigo *prox;
  9. };
  10. typedef struct amigo Amigo;
  11.  
  12. struct local{
  13. char cidade[40];
  14. char estado[40];
  15. char pais[40];
  16. };
  17. typedef struct local Local;
  18.  
  19. struct deslocamento{
  20. Local *origem;
  21. Local *destino;
  22. int data;
  23. struct deslocamento *prox;
  24. };
  25. typedef deslocamento Deslocamento;
  26.  
  27. struct viagem{
  28. Deslocamento *desl;
  29. int dataInicio;
  30. int dataFim;
  31. Amigo *participante;
  32. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement