You need to create a project to contain your source code and related files. A project has an associated builder that can incrementally compile source files as they are changed.
To create your project:
To ensure the accuracy of the C/C++ Projects view and the ability to successfully run and debug your programs, select the correct parser is important. After you select the correct parser for your development environment and build your project, you can view the components of the .o file in the C/C++ Projects view. You can also view the contents of the .o file in the C/C++ editor.
Your new project is displayed in the C/C++ Projects view and in the Project Explorer view. Your project is empty because you have not yet created files for your project. You can now start writing the code for your HelloWorld program.
Tip: You can view and modify the properties of your HelloWorld project by right-clicking on the project in the C/C++ Projects view and clicking Properties.
For more information about:
CDT overview
CDT projects
Project file views
Defining project properties
Working with C/C++ project files