#include #include #include using namespace std; struct Point { int x, y; Point(int x, int y): x(x), y(y){} }; // const vector v = ??; // wat // http://stackoverflow.com/a/4268956 int main() { string s1("first"); string s3 = string("again"); int x = int(42); string s2 = "hello"; int y = 42; cout << x << " " << y << " " << endl; string names[] = {"stephen", "michael", "bryan", "derek"}; vector names_v (names, names + 3); // what is the bug here? for(unsigned int i = 0; i < names_v.size(); i++) { cout << names_v[i] << endl; } return 0; }