All pastes #467940 Raw Edit

Miscellany

public cpp v1 · immutable
·published 2007-05-02 20:18 UTC
rendered paste body
/*Contains information about a rider*/struct rider{           char * riderName;        char * riderPhone;        char * routeNumber;        char * tripTime;        char * timeOfDay;        char * numOfRiders;};/*All manipulation is done using this function*/class ManipInfo{    public:        ManipInfo(); //Constructor        ~ManipInfo(); //Destructor                int addRiderInfo(char* riderName, char* riderPhone, char* routeNumber, char* tripTime, char* timeOfDay, char* numOfRiders);            private:        /*Private nodes*/        rider * head;        rider * current;        rider * next;};