Advertisement
Guest User

Struktururur

a guest
Jan 17th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. struct participant_data {
  2. long place;
  3. std::string surname;
  4. long number;
  5. tm time;
  6. participant_data *next;
  7.  
  8. participant_data();
  9.  
  10. std::string print();
  11. };
  12.  
  13. struct ranking_list {
  14. std::string name;
  15. time_t date;
  16. participant_data *first;
  17.  
  18. ranking_list();
  19.  
  20. void add(long place, std::string surname, long number, tm *time);
  21.  
  22. void print();
  23. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement