Coder's Guild Mailing List

Re: pascal problem

Posted by thholr@xxxx (Thorsten Hofrichter) on 1998-03-02

Well why dotn you set it up to check the parameters argv, and argc. Argc tells
it how many arguments there are , and argv[1],argv[2]....
tell it what they are .
all you have to do then is check if argc is 1 then open a standard file and send
output to it, otherwise send output to argv[2];