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

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

Build Project
|
-
Choose Run > Build
Main Project or right-click any project and choose Build.
|
|

Run project
|
-
Choose Run > Run Main Project or
right-click any project and choose Run.
-
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.
-
Profile the
project to detect any runtime issues with CPU usage, memory leaks, or threading.
|
|

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

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