If you are creating any command lines apps or utilities and need to parse user input, WATCH OUT! Perhaps there is something I don't know, but trying to test for command line args thar are zero, as in 0, is a pain in the arse! The only way to test for it is to first cast the argument to a string, then check if it's '0' as opposed to 0! What's up with that?! Is there something I'm missing here? Anybody got a large caliber handgun?
Well, I got it figured, but I had to go get my arse kicked by the Sarge (Quake III) just to vent some steam.
BDKR