Message from C, C++ discussions

December 2019

— Plus I think it needs an update lol


G++ --version will tell you what version the compiler is but wont tell you what standard your code is written in

— (Ie c++11)

— Ok well it says 9.2.1

— That's the compilers version. Not c++ standard

— True but how would you find out the C++ standard?

— You can compile with different C++ standard

— You specify this when you compile

— Afaik this version supports the latest C++17

— Ok that’s makes sense

— But I think this question is googleable enough

— Ok I understand