Problem with creating my first vector

Hello everybody, I'm studying the C++ programming language and I'm having some problem with my first vector. If i follow the example in the book (programming principles and practice using C++), this is the example :

1
2
3
4
5


vector<int> v = { 5, 7, 9, 4, 6, 8 }; 



and here what my compiler says : Errore 1 error C2440: 'initializing' : cannot convert from 'initializer-list' to 'Vector<int>' c:\users\pierob\documents\visual studio 2013\projects\learnprogramming\learnprogramming\main.cpp 7 1 learnprogramming

can you help me please : ?
What exact version of Visual Studio do you have? IIRC it was a known bug which git fixed in Visual Studio 2013 Update 3
Topic archived. No new replies allowed.