Vectors (segmentation fault)

If i assign a size of around 100000 to a 2D vector…it shows dumped neither does the inbuilt maxsize works…

IF i don;t assign a size, the result does not get accepted showing SEGMENTATION FAULT for a size>10power5

how should I solve it???

Did you try to define vectors globally? for size more than 10^5