For the purpose of this tutorial, you were instructed to create a C++ Project which requires you to create a makefile.
To create a makefile:
all: hello.exe
clean:
rm main.o hello.exe
hello.exe: main.o
g++ -g -o hello main.o
main.o:
g++ -c -g main.cpp
Your new makefile, along with your main.cpp file are displayed in the Project Explorer view. Your project now contains main.cpp and makefile. You can now build your HelloWorld project.
NEW Click here to see an illustration.
Working with C/C++ project files
Writing code