Original Post
For some reason, when I create three vectors of type std::vector ... Only the first work. Trying push_back on the second and third declared vectors turns into a segmentation fault.
The actual declaration is:
std::vector list1, list2, list3;
list1.push_back(5) // is fine
list2.push_back(6) // seg fault
same if i try pushing list2 before list1, it seg faults on list2 ...
What''s the dilio?
- Ben