I\'m trying to error check command line arguments to make sure they are integers, and surprisingly having a difficult time doing so. Here a snippet of code I have that works