clicking compile in geany executes this (you can see that in the bottom part
of geany):
g++ input.cpp output -Wall
-Wall means "warnings all", so gcc says you everything it thinks about your
sluggish code, which is usually a good thing.
Executing ./configure && make && make install is a totally different command,
it uses a special make-file that has specified certain options, like what
order are the source files going to be compiled in. In the end, both commands
might end up addressing gcc to compile stuff, but the command using a
make-file is the more sophisticated one. It is used for large projects, while
the g++ command is for quickly and easily compiling one file.