SE 2040 Notes on Using Command Line Arguments in Eclipse

At times you need to specify
  1. Click on the project and select Run Configurations... from the Run menu.
  2. Select C/C++ Application and click on the New button icon to create a new configuration.
  3. Click on the Arguments tab and enter the argument such as
            myfile.xyz
    
  4. Rename the configuration to something like "use myfile" so that you can keep it separate from other configurations.
  5. Select the Common tab and check the entries for Debug and Run in the Display in favorites menu box.
  6. Select Apply and then close the configuration manager.
You can then select the new run configuration from the dropdowns next to the debug and run icons .

Other Fixes