Guest User

Untitled

a guest
Jun 25th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.64 KB | None | 0 0
  1. typedef void(*DualOutput)(const int, const int);
  2. typedef void(*TripleOutput)(const int, const int, const double);
  3.  
  4. void passenger(node**, node**, itemtype*);
  5. double bus(node**, node**, itemtype*);
  6. int getLine(itemtype*, DualOutput, DualOutput);
  7. void getLines(node**, node**, DualOutput, DualOutput, TripleOutput);
  8. void outputBus(const int, const int);
  9. void outputPeople(const int, const int);
  10. void outputTotal(const int, const int, const double);
  11.  
  12. int main(int argc, char **argv){
  13. node *head = NULL;
  14. node *tail = NULL;
  15.  
  16. getLines(&head, &tail, outputBus, outputPeople, outputTotal);
  17. return 0;
  18. }
  19.  
  20. void outputBus(const int, const int);
Add Comment
Please, Sign In to add comment