Working With C and C+ Projects

The following table shows how to work with C and C++ projects in the NetBeans 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. Configure the project. A project is created with Debug and Release configurations. You can modify the settings for these configurations and create additional configurations.

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


Run project
  1. Choose Run > Run Main Project or right-click any project and choose Run Project.
  2. Use the project properties if you want to deploy the project to another location on your system or to a remote server.


Debug project
  1. Set breakpoints or watches in your code.
  2. Choose Run > Debug Main 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 local variables.
  5. Choose Run > Finish Debugger Session when you are finished debugging.


Legal Notices