Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Stack OverFlow. (Probably a C++ Question)

Author
Message
HandK
18
Years of Service
User Offline
Joined: 24th Jun 2006
Location:
Posted: 28th Feb 2007 19:16
Ok I get an error
Quote: "Unhandled exception at 0x00429c37 in Test2.exe: 0xC00000FD: Stack overflow."

The code doesnt reach this point, as non of the text is printed. If you delete this line, you can see that TheArray can be accessed, and the i exists.

Anyone explain whats happening?

H&K
Mike Johnson
TGC Developer
22
Years of Service
User Offline
Joined: 13th Sep 2002
Location: United Kingdom
Posted: 28th Feb 2007 19:42
Your array is probably too big to handle for the default stack size. Either go into your project properties and modify the stack reserve size in the linker settings or dynamically allocate the memory for the array.

Login to post a reply

Server time is: 2024-11-19 11:28:18
Your offset time is: 2024-11-19 11:28:18