"Joe Laughlin" <Jo***************@boeing.com> wrote...
Is there any way to initialize a vector with a bunch of values at once,
instead of doing a bunch of push_back()'s?
Yes, if you don't mind having those values in an array:
int array[] = { 1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6 };
std::vector<int> vi(array, array + (sizeof array / sizeof array[0]));
V