+ 3

Why is the c++ version in the code play ground so old?

?

3rd Feb 2018, 4:52 PM
Nitzan
Nitzan - avatar
6 odpowiedzi
+ 10
how do you think old? it is just with limited features, because online codeplaygrounds can't change IDEs
3rd Feb 2018, 4:56 PM
Vukan
Vukan - avatar
+ 6
I’ve asked questions about to_string and stoi before, the answer I got was it’s a glitch with some older compilers that should allow it. Also SoloLearn doesn’t completely cover C++11, they left out some parts like threads.
3rd Feb 2018, 5:26 PM
Jacob Pembleton
Jacob Pembleton - avatar
+ 2
It's not. It's C++11, the last major revision to the standard (C++14 and C++17 are new, not very well supported in general (especially C++17) and only add minor revisions anyway). https://code.sololearn.com/cg2qvZ3X12E8/?ref=app
3rd Feb 2018, 5:05 PM
Vlad Serbu
Vlad Serbu - avatar
3rd Feb 2018, 5:09 PM
Nitzan
Nitzan - avatar
3rd Feb 2018, 5:11 PM
Nitzan
Nitzan - avatar
- 2
The compiler version macro says it's C++14.
3rd Feb 2018, 7:33 PM
Timon Paßlick