Dev C++ Process exited with return value 3221225725:

Sep 17, 2013 at 8:49pm
My code is compiling successfully but immediately after that I'm getting the message "Process exited with return value 3221225725".
The code is working fine in ideone.com
What should I do?

Thank you for your help in advance.
Apurva Kumar
Sep 18, 2013 at 1:00am
can you give us the code?
Sep 18, 2013 at 10:43am
Here is the code:
http://ideone.com/7KMmIx
Sep 18, 2013 at 12:03pm
I'd guess that the needed stack size exceeds the actual stack size.
~ 4 MB for the arrays
Sep 18, 2013 at 12:16pm
That's obvious, like coder777 said, you're using too much memory on the stack.
Try allocating them on the heap, or reduce their size.

Edit: On a second note, consider upgrading IDE. This may help you with other (future) problems you may find. Not with this one problem tho.
Last edited on Sep 18, 2013 at 12:19pm
Sep 18, 2013 at 12:24pm
Thank you very much everyone for the quick response.
:-)
Topic archived. No new replies allowed.