Implicit instantiation of undefined template 'std::__1::array<int, 3>' Implicit instantiation of undefined template 'std::__1::array<int, 3>' arrays arrays

Implicit instantiation of undefined template 'std::__1::array<int, 3>'


Make sure to remember #include <array>

But if you don't include any standard headers, you should get asimpler error about std being undefined.


If #include <array> does not work, as it did not for me, then use #include <vector>. I am a novice and cannot explain why this is, so my apologies if you are confused.