Hey there!
Have you ever used C++STL in CodeBlocks?
As I have noted, if you used below example code of vector in C++STL, after that you might face the error something like this
error : in c++98 ‘v’ must be initialized by constructor, not by ‘{….}’
error: could not convert ‘{1,4,6,8,10}’ from ‘<brace-enclosed initialize list>’ to ‘std::vector<int>’

you know what? you can use the following steps to remove the error
- Go to CodeBlocks toolbar –> settings –> compiler
- Select option[Have g++ follow the c++ ISO c++ language standard[-std=c++11]
- Press ok

Thank you!