0
Any C++ expert please answer this :
What is the purpose of <array> header file. Is it included in old version or new of c++, C++11, C++14, C++17. please help me as it doesn't work with dev cpp.
3 Respostas
+ 3
<array> header is mostly used for getting access to std::array container of C++'s standard template library (STL)
It was introduced in C++11 standards and is not deprecated at the time of writing this answer, so should be available in all of the C++ versions above that.
dev-cpp ( your IDE ) usually uses gcc as it's primary compiler, you might wanna update that if you are not able to access these "newer" features of language.
+ 1
You can add the c++11 features in the compiler options.
0
Thanks for helping.