Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- #include <fstream>
- using std::ifstream;
- using std::string;
- using std::istream;
- using std::ostream;
- struct Runner
- {
- string lastName;
- string firstName;
- int bibNumber;
- string gender;
- int clockTime;
- int chipTime;
- string clockString;
- string chipString;
- };
- void runRace(istream& in, ostream& out);
- void populateData(Runner myRunners[], string filename, int &size);
- void growData(Runner* &x, int &size);
- void findName(Runner myRunners[], string argument, ostream& out);
- void findPlace (Runner myRunners[], string argument, ostream& out);
- void findBib(Runner myRunners[], string argument, ostream& out);
- int getLength(Runner myRunners[]);
- Runner* sortData(Runner myRunners[], ostream &out);
- void printAll(Runner myRunners[], ostream& out);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement