- 1

What is the different between GNU C++5,GNUC++11,GNU C++14,ANSI c compilers?

In programming contest,i see these 4 types c/c++ compilers. i wonder a lot of time seeing that if i submit to GNU C++11 my submitted solution is accepted but if i use GNU C++14 i used to get run time error or wrong answer. so how can i decide which compiler is good for me? and what is the difference between those?

3rd Sep 2017, 12:46 PM
maruf sikder
maruf sikder - avatar
1 Resposta
+ 2
C++11 and C++14 are two versions of the language C++ (respectively for 2011 and 2014) You can find their differences on cppreference GNU is a version of C++ that adds some features to the language I do not know why it happens to you and can't guess without the code, sorry
9th Dec 2019, 11:59 AM
Baptiste E. Prunier
Baptiste E. Prunier - avatar