www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/07/06:12:27

Message-ID: <336E468C.35@avanti.orient.uw.edu.pl>
Date: Mon, 05 May 1997 22:43:56 +0200
From: Piotr Sieklucki <pas AT avanti DOT orient DOT uw DOT edu DOT pl>
Reply-To: pas AT avanti DOT orient DOT uw DOT edu DOT pl
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Help needed with command line params.

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019