Eclipse C++ Getting-Started with Hello World Visual Example for Linux Systems

October 16th, 2012 by Regaz

Quick-Start Eclipse C++ on Linux

The Tutorial Presents a Pragmatical Eclipse C++ IDE Quick-Start with Hello World Example Execution for Linux Systems

To the Post Top you Find Link to List of Guides on Installing the Eclipse 4.9 SimRel R IDE for C/C++ Development on Main Linux Distros.

And this Visual Guide includes the Basic Screenshots of All GUI Steps involved.

The Contents and Details are Expressly Minimal to Give Focus Only to the Essentials Instructions and Commands and Make the Tut Easier to Understand ;)

Eclipse C++ IDE Quick-Start with Hello-World on Linux Systems
  1. How-to Install Eclipse 4.9 SimRel R IDE for C/C++ Developers on Linux:

    Installing Eclipse 4.9 SimRel R IDE C/C++
  2. Open a Terminal Window
    (Press “Enter” to Execute Commands)
  3. Check if C++ Compiler is Installed
    which g++

    To Install g++ Compiler on Main Distros:

    • Ubuntu-Debian Like Distros:
      apt-get install g++
    • RedHat Like Distros:
      yum install gcc-c++
    • Mandriva Like Distros:
      urpmi install gcc-c++
  4. On Eclipse File >> New >> C++ Project
  5. Select the Hello World Executable
    Eclipse Hello World Project

    Next

  6. Eventually Modify the Message
    Eclipse Hello World Project Basic Settings

    Then Leave Defaults and Follow Until Finish

  7. Build Project
    Eclipse Hello World Build Project
  8. Run Project
    Eclipse Hello World Run Project

Tags: , , , , , , , , , , , ,