Note: under Linux, the Eclipse C + + IDE is edited under the C + + source program to save first!!! Otherwise, it will ...
Take a look at the following procedure:
1.Click file/new, select C Project(or C + + project)
2 input project name test , select empty project linux  GCC finish
3, click file/new Span style= "font-family: Arial" >, select image 1 source file , enter the file name t.c (to have a suffix, c++ cpp ), dot finish
4, input C source program, point project/build all or (Build Project)
5, Bad! Something went wrong! Because of this error, spent a morning on the site search all kinds of solutions, are not fruit, depressed!!!
Dot run, always come out of the Damned dialog box "launch failed. Binary not Found "!
6, the noon continue to test, in the case of still wrong point run (green Arrow), out a dialog box asked whether to save (not come out and then point Buildall!) ), click Yes ...
7, incredibly, yes! Out of the results! What a result!! The result is actually!!! I'd rather What's going on? Although I do not know the reason, but can run up, and so on!
8, re-test, there will still be problems! Finally, perhaps found the problem! It turns out to be: Edit the C + + source program to save first!!!
In addition, perhaps, these two changes are important (but did not solve the problem I encountered, cry!). ):
1,http://wanglilife.blog.163.com/blog/static/4648527120088141224759/
Project types: This option, it is important to select Executable/hello World ANSI C project (Hello World C + + project) in the box below, because after this choice, You can ensure that the Binaries file is automatically generated in the project, which avoids launch failed. Binary not found is a very important step.
2,http://blog.csdn.net/abcjennifer/article/details/7573916
Project->properties->c/c++build->settings->binary parsers
Tick the GNU elf Parser and Elf Parser