How to enable #include<array>?? I saw this, but still i did not understand how to do it. If you are getting any compilation error, instruct your compiler to use C++11 by using the following command to compile:
g++ -std=c++11 -o filename filename.cpp
If you are on Windows, then download a compiler which supports c++11.