Codeblocks global compiler settings

Hello All,

I am new to the forum and have a question about an article http://www.cplusplus.com/doc/tutorial/introduction/codeblocks/

Under that link is a section called "Global Compiler Settings"
In the picture it shows a red arrow to select "g++ follow the g++11 iso c++ language standard [-std=c++11]"

When I open CodeBlocks and i go to that section I see that setting but there is what looks the same but the 11 is replaced with 14.
Should i stick with 11 like the picture shows or choose the only the looks the same with 14 in it?

Thanks in advance
Drauka

C++14 is just a more recent version of C++. It contains a few new things and is mostly backwards compatible with C++11. I see no reason why you would not want to use C++14 (or C++17 if your compiler supports it).
Hello Peter87,

Thanks for the fast reply and help.

I have never programmed before or ever so I am trying to do what tutorials say.
So that is why I asked that question as I was not sure.

Anyways thanks again for your help.
Drauka
closed account (E0p9LyTq)
@Drauka,

One thing to understand about the tutorial here at cplusplus...it is outdated. C++14/17 have made changes to C++ that are not shown.

Another online C++ tutorial that is updated:
http://www.learncpp.com/
Topic archived. No new replies allowed.