Explore the C/C++ perspective
If you are using the core APIs, the C/C++ perspective is where you develop and build your projects. When you create a new project, the workbench displays the C/C++ perspective by default. You may spend most of your time developing in the C/C++ perspective, but there are other perspectives that you might find helpful as well. The C/C++ perspective features the Project Explorer, the editor, and other useful views that display information that's relevant to your project.
You can access perspectives through the Window > Open Perspective menu, and you can access individual views using Window > Show View. To learn more about views and perspectives, explore the following sections.
This view shows all the projects and resources in your workspace.
All source code is in the src folder; images are directly under the project folder. When you build the project, the binaries will appear in the Binaries folder. All the include files you need to compile your project are in the Includes folder. In the src folder, there are three source code files:
- main.c, which includes the main() function as well as initialization, event handling, and rendering functions.
- bbutil.h and bbutil.c, which provide convenient utility functions for commonly used operations such as loading textures and rendering text.
The console displays the output from your build tools.
The editor provides specialized features for editing your C/C++ files. The editor features syntax highlighting, formatting, code folding, and code completion.
The Make Target view displays the make targets you have created to build in your workspace and allows you to create new make targets. A make target defines custom build commands and settings that give you control over how your project is built. Make target actions are also displayed in the Make Target view.
The Outline view displays the structure of the file currently open in the editor.
The Problems view displays any errors encountered during a build. You can double-click a problem in this view to take you to the source of the problem.
The Properties view shows the attributes of the item currently selected in a view or the editor.
The Tasks view lists tasks that you want to keep track of, either as a schedule of things to do or a history of things that have been done.
Last modified: 2013-10-30