View Single Post
Old Feb 18th, 2005, 4:26 PM   #5
magyarkid
Newbie
 
Join Date: Jan 2005
Location: Virginia USA
Posts: 6
Rep Power: 0 magyarkid is on a distinguished road
Send a message via AIM to magyarkid
Quote:
Originally Posted by Infinite Recursion
yes, parameters will work fine.

$0 = program name
$1 = 1st parameter
$2 = 2nd parameter
Yeah... that will work if you want to run
./a.out <infilename> <outfilename>
Then you just use $1 and $2 to reffer to infilename and outfilename, respectively.
__________________
Signed,
Magyarkid
magyarkid is offline   Reply With Quote