Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int position;
- if (((position = atoi(argv[2])) == 0) || (atoi(argv[2]) > 15) || (atoi(argv[2]) < 0)) {
- cout << "ERROR: The second argument should be a valid number between 0 and 15!" << endl;
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement