“launching 'project' has encountered ..” , project file does not exist

I wanted to write 'hello world' in eclipse c++, but it does not work

<img src="https://i.stack.imgur.com/mZYkX.png" alt="table">

I go to Run configurations, what config options for c++ programs should i give?

I know I don't care about 'debug' - only 'release', but how to do that?

<img src="https://i.stack.imgur.com/DdPCw.png" alt="u">


Here is what I did: File->New->C++ Project You will get a pop up window. Type the name of the project you want. Then, below it says executable and inside this folder, I have (by default I guess) Empty Project. Then click Next and Finish.

Now the project appears in the left column of Eclipse. I right click it and select New->File and name it main.cpp

The main window of Eclipse opens the file main.cpp and I write inside:

#include <iostream> int main() { std::cout << "Hello Erjan\n" << std::endl; return 0; }

Then I click on <strong>Build</strong>, it's the hammer icon in the middle of the toolbar. The code compiles and we are ready to launch it!

So, click on Run icon (3 positions right of the Build icon) and you should see the output in the console.


The first step, create new project and try proper toolchains. Second step, Project >> build project. Third step, right click on new executive file and run or debug it.


  • How to preserve alias property while signing app?
  • How to package a jar and all dependencies within a new jar with maven
  • Unable to run SDL program in Eclipse but able to do so in Windows Explorer
  • How to send control C to Mac Terminal using python?
  • Does Apportable support to build library binary (.a/.so)?
  • netsh acl setting (need alternative method - registry settings?)
  • how to set variables in a php include file?
  • Ember.js model to be organised as a tree structure
  • Jenkins: FATAL: Could not initialize class hudson.util.ProcessTree$UnixReflection
  • Groovy: Unexpected token “:”
  • Jackson Parser: ignore deserializing for type mismatch
  • Replace value with Factor in r data.table
  • Listbox within Listbox and scrolling trouble in Windows Phone 7 Silverlight
  • How to use remove-erase idiom for removing empty vectors in a vector?
  • Switching to Release Build causes runtime error in Web Reference
  • Disable Enter in editText android
  • Alert pop up with LWUIT
  • Paperclip, set path outside of rails root folder
  • Recording logins for password protected directories
  • How to access EntityManager inside Entity class in EJB3
  • Repeat a vertical line on every page in Report Builder / SSRS
  • Disabling Alt-F4 on a Win Forms NotifyIcon
  • Why is an OPTIONS request sent to the server?
  • Why HTML5 Canvas with a larger size stretch a drawn line?
  • Spray.io: When (not) to use non-blocking route handling?
  • Modifying destination and filename of gulp-svg-sprite
  • How to check if every primary key value is being referenced as foreign key in another table
  • QuartzCore.framework for Mono Develop
  • GridView Sorting works once only
  • Proper folder structure for lots of source files
  • AngularJs get employee from factory
  • Load html files in TinyMce
  • python regex in pyparsing
  • How can I get HTML syntax highlighting in my editor for CakePHP?
  • How do I configure my settings file to work with unit tests?
  • How to CLICK on IE download dialog box i.e.(Open, Save, Save As…)
  • Exception on Android 4.0 `android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode)`
  • IndexOutOfRangeException on multidimensional array despite using GetLength check
  • Append folder name and increment by 1 using batch script
  • Binding checkboxes to object values in AngularJs