var v = [] v.push_back(3.4); v.push_back(1); v.push_back("bob"); assert_true(v[0] == 3.4) assert_true(v[1] == 1) assert_true(v[2] == "bob") v[0] = 2.9 v[1] = 3 v[2] = "tom" assert_true(v[0] == 2.9) assert_true(v[1] == 3) assert_true(v[2] == "tom")