Re: how to write a program that takes arguments from commandline?



stathis gotsis wrote:
-snip-

Maybe this is relevant:
http://c-faq.com/misc/argv.html

Thanks. That looks exactly like the place to start. Also thanks to the other answers. I assume argc contains the number of (space-separated) arguments.


Med venlig hilsen / Best regards
Martin Jørgensen

--
---------------------------------------------------------------------------
Home of Martin Jørgensen - http://www.martinjoergensen.dk
.