Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2014
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3. #include <fstream>
  4.  
  5. using std::ifstream;
  6.  
  7. using std::string;
  8. using std::istream;
  9. using std::ostream;
  10.  
  11. struct Runner
  12. {
  13. string lastName;
  14. string firstName;
  15. int bibNumber;
  16. string gender;
  17. int clockTime;
  18. int chipTime;
  19. string clockString;
  20. string chipString;
  21. };
  22. void runRace(istream& in, ostream& out);
  23.  
  24. void populateData(Runner myRunners[], string filename, int &size);
  25. void growData(Runner* &x, int &size);
  26.  
  27. void findName(Runner myRunners[], string argument, ostream& out);
  28.  
  29. void findPlace (Runner myRunners[], string argument, ostream& out);
  30.  
  31. void findBib(Runner myRunners[], string argument, ostream& out);
  32.  
  33. int getLength(Runner myRunners[]);
  34.  
  35. Runner* sortData(Runner myRunners[], ostream &out);
  36.  
  37. void printAll(Runner myRunners[], ostream& out);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement