[TriLUG] OT: C++ question

Warren Myers volcimaster at gmail.com
Mon Oct 31 13:37:17 EST 2005


On DOS/Win boxen, the argv[0] is the _entire_ name of the program, including
path of execution.

Important gotcha, which probably doesn't apply to you (and someone
> correct me if I am wrong, which I may be):
> On Wintel/DOS systems,
> argv[0] is the first argument
> On Unix systems,
> argv[0] is the name of the program.



--
http://warrenmyers.com
"God may not play dice with the universe, but something strange is going on
with the prime numbers." --Paul Erdős


More information about the TriLUG mailing list