Guest User

Untitled

a guest
May 24th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. #define INT 1024
  2. #define CHAR 1025
  3. #define STRING 1032
  4. #define LIST 1033
  5. #define SET 1034
  6.  
  7. typedef struct dataType* dataPtr;
  8. typedef struct stringType* stringPtr;
  9. typedef struct charType* charPtr;
  10.  
  11.  
  12. struct dataType{
  13. int nodeType;
  14. dataPtr dato;
  15. dataPtr sig;
  16. };
  17.  
  18. struct stringType{
  19. int nodeType;
  20. char valor;
  21. };
  22. struct charType{
  23. int nodeType;
  24. char valor;
  25. };
  26.  
  27. dataPtr aux;
  28.  
  29. aux=(dataPtr*)malloc(sizeof(dataPtr));
Add Comment
Please, Sign In to add comment