Originally posted by tsitras
For example the name of the file that you want to compile is paper.cpp, then all you have to do is go to the terminal and access the folder where the file paper.cpp is sitting. then type gcc paper.cpp -o paper
Though, if you read the post, vichet said that typing 'gcc' does not work
And again: gcc is a C compiler, g++ is a C++ compiler. Usually anything with a .cpp extension is C++.