Advertisement
Guest User

Untitled

a guest
May 26th, 2019
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.43 KB | None | 0 0
  1. #ifndef TYPES_H
  2. #define TYPES_H
  3.  
  4. #define NAME 50
  5.  
  6. #include <iostream>
  7. #include <cstring>
  8. #include <limits>
  9. using namespace std;
  10.  
  11. struct sportsman{
  12.     char name[NAME];
  13.     sportsman *next;
  14. };
  15.  
  16. struct sport{
  17.     char name[NAME];
  18.     sport *next;
  19.     sportsman *sublevel;
  20.     int childCount;
  21. };
  22.  
  23. struct country{
  24.     char name[NAME];
  25.     country *next;
  26.     sport *sublevel;
  27.     int childCount;
  28. };
  29.  
  30. #endif // TYPES_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement