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.

26th Jul 2022, 2:28 PM
Isbah
3 Respuestas
+ 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.
26th Jul 2022, 4:44 PM
Arsenic
Arsenic - avatar
+ 1
You can add the c++11 features in the compiler options.
27th Jul 2022, 12:25 PM
Lama
Lama - avatar
0
Thanks for helping.
26th Jul 2022, 5:01 PM
Isbah