Help to resolve this error message caused in using Vector.push_back.
Posted on 2006-06-09
I have the code:
rank.push_back(0) is called is a loop, rank.push_back(0) works fine first 9 calls but has following error when it is called at 10th call.
Error message from BoundsChecker:
Dynamic memory overrun
32 byte block allocated in c:\program files\microsoft visual studio\vc98\include\xmemory (30)
allocating thread ID: 0x9CC, current thread ID: 0x9CC
Please help! Thanks.