argc argv

From: seforo mohlalisi <seforomohlalisi_at_yahoo.co.uk>
Date: Wed, 28 May 2008 12:15:51 +0000


Hello,
I have a file named passParameters.cxx and in it main function is defined int main(int argc, const char **argv)
{
&nbsp;&nbsp; //code goes here
}
I can generate an executable passParameters with g++ and run as follow: ./passParameters parameter1 pameter2 .. parametern

How can I achieve this with ROOT?
I can compile as
root[0].L passParameters.cxx+
Then how do I pass the parameters?

Regards,

Seforo Mohlalisi

Cell: +27 79 226 3682

Emails: seforo@gmail.com seforomohlalisi@yahoo.co.uk


      __________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html
Received on Wed May 28 2008 - 14:15:58 CEST

This archive was generated by hypermail 2.2.0 : Wed May 28 2008 - 17:50:02 CEST