c++ - "launching 'project' has encountered .." , project file does not exist -
i wanted write 'hello world' in eclipse c++, not work
i go run configurations, config options c++ programs should give?
i know don't care 'debug' - 'release', how that?
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
Post a Comment