Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- typedef void(*DualOutput)(const int, const int);
- typedef void(*TripleOutput)(const int, const int, const double);
- void passenger(node**, node**, itemtype*);
- double bus(node**, node**, itemtype*);
- int getLine(itemtype*, DualOutput, DualOutput);
- void getLines(node**, node**, DualOutput, DualOutput, TripleOutput);
- void outputBus(const int, const int);
- void outputPeople(const int, const int);
- void outputTotal(const int, const int, const double);
- int main(int argc, char **argv){
- node *head = NULL;
- node *tail = NULL;
- getLines(&head, &tail, outputBus, outputPeople, outputTotal);
- return 0;
- }
- void outputBus(const int, const int);
Add Comment
Please, Sign In to add comment