Advertisement
Guest User

Untitled

a guest
May 4th, 2015
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. int position;
  2. if (((position = atoi(argv[2])) == 0) || (atoi(argv[2]) > 15) || (atoi(argv[2]) < 0)) {
  3. cout << "ERROR: The second argument should be a valid number between 0 and 15!" << endl;
  4. return 1;
  5. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement