Difference between revisions of "Basics : Develop Simple Apps Fedora"

From CDOT Wiki
Jump to: navigation, search
(Created page with '== Your First C Program in Eclipse ==')
 
(Your First C Program in Eclipse)
Line 1: Line 1:
 
== Your First C Program in Eclipse ==
 
== Your First C Program in Eclipse ==
 +
The first thing you have to do is to select the C/C++ perspective. You can do this by clicking the icon pointed to by the red arrow and selecting C/C++.  [[Image:Screenshot-3.png|thumb]]
 +
 +
 +
 +
 +
 +
 +
Your workbench is now configured for C/C++ development. [[Image:Screenshot-4.png|thumb]]
 +
 +
 +
 +
 +
 +
 +
 +
 +
Next select '''File, New, C Project''' from the main menu.  [[Image:Screenshot-5.png|thumb]]
 +
 +
 +
 +
 +
 +
 +
 +
Enter the name of your project, '''FirstCProject''', and for the executable type select '''Hello World ANSI C Project''', and then click on the '''Finish''' button. [[Image:Screenshot-7.png|thumb]]

Revision as of 15:45, 18 January 2011

Your First C Program in Eclipse

The first thing you have to do is to select the C/C++ perspective. You can do this by clicking the icon pointed to by the red arrow and selecting C/C++.
Screenshot-3.png




Your workbench is now configured for C/C++ development.
Screenshot-4.png





Next select File, New, C Project from the main menu.
Screenshot-5.png




Enter the name of your project, FirstCProject, and for the executable type select Hello World ANSI C Project, and then click on the Finish button.
Screenshot-7.png