I've got some code in C++, I have a pointer to some data atm but I want to change it to an array so it's easier to debug. However when I try to change it I get a stack overflow error:
Unhandled exception at 0x00411277 in driver.exe: 0xC00000FD: Stack overflow.
This gets thrown up when I define my array (int data[2359296]), however if I make the array smaller it works, does this just mean I don't have enough space? I do most of my work in Java and have much larger arrays than this and I'm sure I've used larger arrays in C before.
Is this the reason or am I missing something?
Thanks.
Unhandled exception at 0x00411277 in driver.exe: 0xC00000FD: Stack overflow.
This gets thrown up when I define my array (int data[2359296]), however if I make the array smaller it works, does this just mean I don't have enough space? I do most of my work in Java and have much larger arrays than this and I'm sure I've used larger arrays in C before.
Is this the reason or am I missing something?
Thanks.