Mail Archives: djgpp/1997/05/07/06:12:27
Hello fellow DJGPPers,
I would like to ask for some advice. How do you read the command-line
parameters given to a program at runtime, and copy them to strings?
Basically, I want to get the 2nd and 4th (given that the 1st is the
full pathname to the program) parameters into strings <2nd> and <4th>.
I realise that this is bloody simple, but I just seem to be bloody
stupid. Anyone out there who can give me a helping hand, plz? TIA.
Piotr Sieklucki
<pas AT avanti DOT orient DOT uw DOT edu DOT pl>
- Raw text -