Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int main(int argc, char *argv[]) {
- bool produceFinish = false;
- bool consumeFinish = false;
- if (strcmp(argv[2], "bool") == 0) {
- produceFinish = true;
- }
- if (strcmp(argv[4], "bool") == 0) {
- consumeFinish = true;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement