Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse C/C++ Developer Guide
Previous Page Home Next Page

Creating a C/C++ file

Files are edited in the C/C++ editor that is, by default, located in the editor area to the right of the C/C++ Projects view.

The marker bar on the left margin of the C/C++ editor, displays icons for errors, warnings, bookmarks, breakpoints and tasks.

For more information on the marker bar, see Workbench User Guide > Reference > User interface information > Views and editors > Editor area.

To create a C++ file:

  1. In the C++ Projects view, right-click a project, and select New > File.
    New > File in Projects View
  2. In the list of projects, verify that the correct project is selected.
  3. In the File name box, type a name followed by the appropriate extension.
  4. Click Finish.
    New File Wizard
  5. The file will open in the C/C++ editor.

  6. Enter your code in the editor view..
    Editor view with a sample code
  7. Type CTRL+S to save the file.

Related concepts
CDT Projects
Project file views

Related tasks
Displaying C/C++ file components inthe C/C++ Projects view
Hiding files by type in the C/C++Projects view

Related reference
Project properties

IBM Copyright Statement


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire