// Public Functions // --------------------------- // void getinfo(FILE* &ins); // POSTCONDITION: Fills the class with the necessary race // info & completes the necessary calculations. // Private Helper Functions // --------------------------- // void getname(FILE*& ins, char name[]); // POSTCONDITION: Gets one integer from input file // and returns it to program // void eatspace(FILE*& ins); // POSTCONDITION: Reads and discard "white space" from ins // void eatheader(FILE*& ins); // POSTCONDITION: Discards the 3 line race header (after name) // PRECONDITION: Must call getname first to preserve dog name // void fillrace(FILE*& ins, Race &race); // POSTCONDITION: fills one race from ins // PRECONDITION: ins is qued up to start of race info void getinfo(FILE* &ins); void getname(FILE*& ins); void eatheader(FILE*& ins); bool fillrace(FILE*& ins, Race &race); void eatspace(FILE*& ins);