Unable to use command line parameters

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
This is the first time I am using managed cpp. However, I am unable to find
how to get the command line parameters to the main function in both the
console and the Application version. The IDE allows me to set command line
values in Project Properties>Debug option.
Can anyone give me some pointers?
 
Rajiv said:
This is the first time I am using managed cpp. However, I am unable to find
how to get the command line parameters to the main function in both the
console and the Application version. The IDE allows me to set command line
values in Project Properties>Debug option.
Can anyone give me some pointers?

String* cl[]= System::Environment::GetCommandLineArgs

B.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top