Use array in VC2008

0

I have the problem of not being able to use arrays in visual studio 2008 in c ++ I have installed visual studio 2008 professional with SP1. I have been searching the internet and apparently it is possible to include arrays, but I can not do it. Did any of you have it?

I have found several links that say that it can be done, several of them are from Microsoft, but I can not move forward.

link

link

Any idea, suggestion, help ... is appreciated. Greetings.

    
asked by Andermutu 03.07.2017 в 11:48
source

1 answer

1

std::array was incorporated into the standard in the C ++ 11 standard (dating from 2011). The 2008 version was released three years earlier, so it does not incorporate the aforementioned standard nor, of course, std::array .

The only solution in your case is to install a more modern VS (2010 already incorporates certain features of C ++ 11).

    
answered by 03.07.2017 / 12:10
source