Stack Overflow Accessing Large Vector
Posted
by cam
on Stack Overflow
See other posts from Stack Overflow
or by cam
Published on 2010-04-25T13:01:49Z
Indexed on
2010/04/25
13:03 UTC
Read the original article
Hit count: 220
c++
|stackoverflow
I'm getting a stack overflow on the first iteration of this for loop
for (int q = 0; q < SIZEN; q++)
{
cout<<nList[q]<<" ";
}
nList is a vector of type int with 376 items. The size of nList depends on a constant defined in the program. The program works for every value up to 376, then after 376 it stops working.
Any thoughts?
© Stack Overflow or respective owner