I am a novice, learning from the book Straustrup "Programming. Principles and practice using C ++". I got to the topic "Vectors" and decided to try to write this construction in the program:
vector<int> v = {5, 7, 9, 4, 6, 8}; What the compiler cursed:
in c ++ 98 must be initialized by constructor, not by '{...}'
Actually, the question is: how to solve this error?
