Advertisement
Guest User

Untitled

a guest
Dec 7th, 2016
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.26 KB | None | 0 0
  1. int main(int argc, char *argv[]) {
  2.     bool produceFinish = false;
  3.     bool consumeFinish = false;
  4.  
  5.     if (strcmp(argv[2], "bool") == 0) {
  6.         produceFinish = true;
  7.     }
  8.    
  9.     if (strcmp(argv[4], "bool") == 0) {
  10.         consumeFinish = true;
  11.     }
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement