$ sudo yum install gcc gcc-c++ autoconf automake
autoconf - a tool for producing configure scripts for building, installing and packaging software on computer systems where a Bourne shell is available [1];
GNU GCC C compiler (gcc) - the package contains a GNU Compiler Collection;
GNU GCC C++ compiler (gcc-c++) - the package adds C++ support to the GNU Compiler Collection [3].
$ man g++
gcc - GNU project C and C++ compiler
...
When you invoke GCC, it normally does preprocessing, compilation, assembly and linking. The "overall options" allow you to stop this process at an intermediate stage. For example, the -c option says not to run the linker. Then the output consists of object files output by the assembler.
...