+ 3

String header file and gcc

Hello every one I use code blocks with gcc mingw 8 the problem is all the declaration in the string header file not in std namespace but in __cxx11 namespace Why?

2nd Dec 2018, 9:33 PM
Coder++
Coder++ - avatar
6 Antworten
+ 3
Likely because you haven't set the compiler settings to support the C++ 2011 standard. By default, code blocks uses pre-2011 language.
3rd Dec 2018, 6:18 AM
John Wells
John Wells - avatar
+ 3
I will try it, Note: I set it up with c++17 I don't use the default compiler
3rd Dec 2018, 11:01 AM
Coder++
Coder++ - avatar
+ 3
Not solved
3rd Dec 2018, 6:04 PM
Coder++
Coder++ - avatar
3rd Dec 2018, 6:22 AM
John Wells
John Wells - avatar
+ 1
Sorry! I can try it on my laptop either tonight or tomorrow night, if you give me SoloLearn links to the code.
3rd Dec 2018, 6:09 PM
John Wells
John Wells - avatar