Go to main content
Oracle® Developer Studio 12.5: IDE Quick Start Tutorial

Exit Print View

Updated: June 2016
 
 

Running a Project

The Arguments sample program prints command-line arguments. Before running the program, you will set some arguments in the current configuration. Then you will run the program.

    To create the Arguments_1 project, set some arguments, and run the project:

  1. Choose File > New Project.

  2. In the project wizard, expand the Samples category.

  3. Select the C/C++ subcategory, then select the Arguments project. Click Next, then click Finish.

  4. Right-click the Arguments_1 project node and choose Build. The project builds.

  5. Right-click the Arguments_1 project node and choose Properties.

  6. In the Project Properties dialog box, select the Run node.

  7. In the Run Command text field, type 1111 2222 3333 after the output path. Click OK.

    image:Project Properties dialog box
  8. Choose Run > Run Main Project. The application builds and runs. Your arguments are displayed in another tab..