I can create an array and initialize it like this:
int a[] = {10, 20, 30};
How do I create a std::vector and initialize it sim
std::vector
you can do that using boost::assign.
vector values; values += 1,2,3,4,5,6,7,8,9;
detail here