c++ - "launching 'project' has encountered .." , project file does not exist -


i wanted write 'hello world' in eclipse c++, not work

table

i go run configurations, config options c++ programs should give?

i know don't care 'debug' - 'release', how that?

u

here did: file->new->c++ project pop window. type name of project want. then, below says executable , inside folder, have (by default guess) empty project. click next , finish.

now project appears in left column of eclipse. right click , select new->file , name main.cpp

the main window of eclipse opens file main.cpp , write inside:

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

then click on build, it's hammer icon in middle of toolbar. code compiles , ready launch it!

so, click on run icon (3 positions right of build icon) , should see output in console.


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -