Working With C/C++ and Fortran Projects

The following table shows how to work with C, C++, and Fortran projects in the IDE.

Number one
Create and
configure project
  1. Create a project using the best template for your programming needs
  2. Add project dependencies for libraries needed by your application.
  3. Set project properties such as compiler options for the project, and optionally manage configurations.

Number two
Build Project
  1. Choose Run > Build Project or right-click any project and choose Build.

Number three
Run project
  1. Choose Run > Run Project or right-click any project and choose Run.
  2. Use the project properties if you want to deploy the project to another location on your system or set the project to use Remote Development.

Number four
Test project
  1. Right-click a source file and choose Create test > New test type to generate a test template and edit it to test your code.
  2. Run tests on your code.
  3. Debug tests to find errors in the tests.


Debug project
  1. Set breakpoints or watches in your code.
  2. Choose Debug > Debug Project or right-click any project and choose Debug Project. You can also attach the debugger to a running process.
  3. Step through the program execution.
  4. Look at the call stack and examine variables.
  5. Choose Debug > Finish Debugger Session when you are finished debugging.

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.