Limit for vector?????
-
Hi guyz, I just want to know if there's a limit on vector size. What is the maximum vector size? I'm using a vector of CString and store about 100K+ absolute path and experience program hang. Am I reaching the vector's limit? Hope you can help me thanks.
-
Hi guyz, I just want to know if there's a limit on vector size. What is the maximum vector size? I'm using a vector of CString and store about 100K+ absolute path and experience program hang. Am I reaching the vector's limit? Hope you can help me thanks.
TooShy2Talk wrote:
I just want to know if there's a limit on vector size.
Use max_size member function of std::vector.
Nibu babu thomas Microsoft MVP for VC++ Code must be written to be read, not by the compiler, but by another human being. Programming Blog: http://nibuthomas.wordpress.com