Original Post
Ok, i got a book about C11 and all the new features about it. One of them is initializer lists like:
but they all give this error:
of when dealing with vectors, this:
not sure what to do.
vector<string> name { "Sonic", "Eggman'" };
but they all give this error:
1 IntelliSense: expected a ';' c:\users\rosario\documents\visual studio 2010\projects\fix\fix\fix.cpp 9 10 Fix
of when dealing with vectors, this:
1 IntelliSense: initialization with '{...}' is not allowed for object of type "std::vector<std::string, std::allocator<std::string>>" c:\users\rosario\documents\visual studio 2010\projects\fix\fix\fix.cpp 9 25 Fix
not sure what to do.