On Fri, 7 May 2021 at 21:46, David Caul via Gcc-help <gcc-help@xxxxxxxxxxx> wrote: > > Hi Team, > > 1. What is the diff between gcc and g++. > As in read out some article but not much clear. To a rough approximation, g++ is equivalent to gcc -x c++ -lstdc++ i.e. it assumes input files are C++ by default (even if they have a .c file extension) and it automatically links to the C++ runtime library. If you're compiling C++, you probably want to use g++ not gcc to get the right defaults. > 2. Also to master c++ and its modern versions like c++ 11 etc how can i > start. That's off-topic here as it's not a question about GCC. The books referenced at http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#S-references are a good list, and the CppCoreGuidelines themselves.