>I've got a "Segmentation Fault" error in C++ when trying to allocate a vector with a dimension of 2 million.
2 million what? Chances are good you're exceeding the limits of a single allocation request. But it's hard to say without seeing some code.
Reputation Points: 6442
Solved Threads: 1393
Bad Cop
Offline 11,807 posts
since Sep 2004