C++ GCC,how to figure out which c++ gcc am I on.

What’s GCC,and How do I figure out which c++gcc am I working with?

Go to your terminal, and type g++ -v

The GNU Compiler Collection (GCC) is a compiler system produced by the GNU Project supporting various programming languages. GCC is often chosen for developing software that is required to execute on a wide variety of hardware and/or operating systems. System-specific compilers provided by hardware or OS vendors can differ substantially, complicating both the software’s source code and the scripts that invoke the compiler to build it. With GCC, most of the compiler is the same on every platform, so only code that explicitly uses platform-specific features must be rewritten for each system. To check up on your version number just pull up a terminal and type : gcc --version